- Timestamp:
- Jul 24, 2011, 3:42:52 PM (13 years ago)
- Branches:
- release-1.8
- Children:
- efef058
- Parents:
- a71b4e0
- git-author:
- David Benjamin <davidben@mit.edu> (07/24/11 15:37:54)
- git-committer:
- David Benjamin <davidben@mit.edu> (07/24/11 15:42:52)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fmtext.c
ra71b4e0 rd98e501 186 186 static void _owl_fmtext_wcolor_set(WINDOW *w, short pair) 187 187 { 188 cchar_t background;189 wchar_t blank[2] = { ' ', 0 };190 188 if (has_colors()) { 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 setcchar(&background, blank, 0, pair, NULL); 195 wbkgrndset(w, &background); 189 wcolor_set(w,pair,NULL); 190 wbkgdset(w, COLOR_PAIR(pair)); 196 191 } 197 192 }
Note: See TracChangeset
for help on using the changeset viewer.