- Timestamp:
- Jan 30, 2005, 12:26:43 PM (20 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- e74e573
- Parents:
- 180cd15
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
global.c
r8232149 r176d3443 120 120 /* set the new window sizes */ 121 121 g->recwinlines=g->lines-(typwin_lines+2); 122 if (g->recwinlines<1) { 123 /* this will screw things up. I'm not sure what to do yet, 124 but this is better than nothing */ 125 /* g->recwinlines=1; */ 126 } 122 if (g->recwinlines<0) { 123 /* gotta deal with this */ 124 g->recwinlines=0; 125 } 126 127 owl_function_debugmsg("_owl_global_setup_windows: about to call newwin(%i, %i, 0, 0)\n", g->recwinlines, cols); 127 128 128 129 /* create the new windows */ 129 130 g->recwin=newwin(g->recwinlines, cols, 0, 0); 130 131 if (g->recwin==NULL) { 131 owl_function_debugmsg("\n\nI just received an error on creating a new receive window\n"); 132 owl_function_debugmsg("newwin was called with arguments (%i, %i, 0, 0) and returned NULL\n", 133 g->recwinlines, cols); 132 owl_function_debugmsg("_owl_global_setup_windows: newwin returned NULL\n", g->recwinlines, cols); 134 133 endwin(); 135 136 134 exit(50); 137 135 }
Note: See TracChangeset
for help on using the changeset viewer.