Changeset 1910 for ncurses/vendor/current/ncurses/base/lib_box.c
- Timestamp:
- Jan 13, 2017, 3:21:12 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified ncurses/vendor/current/ncurses/base/lib_box.c ¶
r85 r1910 1 1 /**************************************************************************** 2 * Copyright (c) 1998-200 2,2005Free Software Foundation, Inc. *2 * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * 3 3 * * 4 4 * Permission is hereby granted, free of charge, to any person obtaining a * … … 43 43 #include <curses.priv.h> 44 44 45 MODULE_ID("$Id: lib_box.c,v 1.2 2 2005/11/26 15:39:42tom Exp $")45 MODULE_ID("$Id: lib_box.c,v 1.24 2010/04/24 23:51:57 tom Exp $") 46 46 47 47 #if USE_WIDEC_SUPPORT … … 52 52 SetChar2(wch, ch); 53 53 wch = _nc_render(win, wch); 54 return CharOf(wch) | AttrOf(wch);54 return ((attr_t) CharOf(wch)) | AttrOf(wch); 55 55 } 56 56 57 #define RENDER_WITH_DEFAULT(ch,def) w ## ch = _my_render(win, (ch == 0) ? def : ch) 57 58 #else … … 71 72 72 73 T((T_CALLED("wborder(%p,%s,%s,%s,%s,%s,%s,%s,%s)"), 73 win,74 (void *) win, 74 75 _tracechtype2(1, ls), 75 76 _tracechtype2(2, rs),
Note:
See TracChangeset
for help on using the changeset viewer.