- Timestamp:
- Feb 4, 2011, 5:32:37 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.8, release-1.9
- Children:
- 8d553bf
- Parents:
- e062f97
- git-author:
- David Benjamin <davidben@mit.edu> (01/25/11 17:27:10)
- git-committer:
- David Benjamin <davidben@mit.edu> (02/04/11 17:32:37)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fmtext.c
re062f97 r099597c 876 876 short i, j; 877 877 878 cpmgr->overflow = false; 878 879 cpmgr->next = 8; 879 880 /* The test is <= because we allocated COLORS+1 entries. */ 880 881 for(i = 0; i <= COLORS; i++) { 881 882 for(j = 0; j <= COLORS; j++) { … … 925 926 /* We still don't have a pair, drop the background color. Too bad. */ 926 927 owl_function_debugmsg("colorpairs: color shortage - dropping background color."); 928 cpmgr->overflow = true; 927 929 pair = owl_fmtext_get_colorpair(fg, OWL_COLOR_DEFAULT); 928 930 } … … 930 932 /* We still don't have a pair, defaults all around. */ 931 933 owl_function_debugmsg("colorpairs: color shortage - dropping foreground and background color."); 934 cpmgr->overflow = true; 932 935 pair = 0; 933 936 }
Note: See TracChangeset
for help on using the changeset viewer.