- Timestamp:
- Feb 4, 2011, 5:33:22 PM (13 years ago)
- Branches:
- release-1.7
- Children:
- 27705b65
- Parents:
- b1ed3e2
- git-author:
- David Benjamin <davidben@mit.edu> (01/25/11 17:27:10)
- git-committer:
- David Benjamin <davidben@mit.edu> (02/04/11 17:33:22)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fmtext.c
rb1ed3e2 r22662d7 925 925 short i, j; 926 926 927 cpmgr->overflow = false; 927 928 cpmgr->next = 8; 928 929 /* The test is <= because we allocated COLORS+1 entries. */ 929 930 for(i = 0; i <= COLORS; i++) { 930 931 for(j = 0; j <= COLORS; j++) { … … 974 975 /* We still don't have a pair, drop the background color. Too bad. */ 975 976 owl_function_debugmsg("colorpairs: color shortage - dropping background color."); 977 cpmgr->overflow = true; 976 978 pair = owl_fmtext_get_colorpair(fg, OWL_COLOR_DEFAULT); 977 979 } … … 979 981 /* We still don't have a pair, defaults all around. */ 980 982 owl_function_debugmsg("colorpairs: color shortage - dropping foreground and background color."); 983 cpmgr->overflow = true; 981 984 pair = 0; 982 985 }
Note: See TracChangeset
for help on using the changeset viewer.