- Timestamp:
- Jun 14, 2008, 12:06:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/src/main.c
r2385 r2387 352 352 screen_list->screen[i]->w + 2, 353 353 screen_list->screen[i]->h + 2); 354 if(screen_list->screen[i]->title) 355 cucul_printf(cv, 356 screen_list->screen[i]->x, 357 screen_list->screen[i]->y - 1, 358 " %.*s ", 359 screen_list->screen[i]->w - 3, 360 screen_list->screen[i]->title); 354 361 } 355 362 … … 376 383 screen_list->screen[pty]->w + 2, 377 384 screen_list->screen[pty]->h + 2); 378 379 cucul_set_color_ansi(cv, CUCUL_DEFAULT, CUCUL_BLACK); 380 for(i = screen_list->count - 1; i >=0; i--) 381 { 382 if(screen_list->screen[i]->title) 383 cucul_printf(cv, 384 screen_list->screen[i]->x, 385 screen_list->screen[i]->y - 1, 386 " %.*s ", 387 screen_list->screen[i]->w - 3, 388 screen_list->screen[i]->title); 389 390 } 391 385 if(screen_list->screen[pty]->title) 386 cucul_printf(cv, 387 screen_list->screen[pty]->x, 388 screen_list->screen[pty]->y - 1, 389 " %.*s ", 390 screen_list->screen[pty]->w - 3, 391 screen_list->screen[pty]->title); 392 392 cucul_gotoxy(cv, 393 393 screen_list->screen[pty]->x + … … 409 409 draw_help(cv, screen_list, pty); 410 410 } 411 412 411 413 412 caca_refresh_display(dp);
Note: See TracChangeset
for help on using the changeset viewer.