- Timestamp:
- Jul 24, 2011, 2:26:09 PM (13 years ago)
- Parents:
- 3234121 (diff), 14c15d9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fmtext.c
rd8f22b6 r7e9fa84 186 186 static void _owl_fmtext_wcolor_set(WINDOW *w, short pair) 187 187 { 188 cchar_t background; 189 wchar_t blank[2]; 188 190 if (has_colors()) { 189 wcolor_set(w,pair,NULL); 190 wbkgdset(w, COLOR_PAIR(pair)); 191 wcolor_set(w, pair, NULL); 192 /* Set the background with wbkgrndset so that we can handle color-pairs 193 * past 256 on ncurses ABI 6 and later. */ 194 blank[0] = ' '; 195 blank[1] = 0; 196 setcchar(&background, blank, 0, pair, NULL); 197 wbkgrndset(w, &background); 191 198 } 192 199 }
Note: See TracChangeset
for help on using the changeset viewer.