Mercurial > hg
comparison mcabber/src/main.c @ 518:9480a76471b6
Update Log_Win_Height when refreshing the screen
It allows live modification of the 'log_win_height' option.
The log window height is reduced when the screen height is reduced too much,
too.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 14 Nov 2005 18:34:57 +0100 |
parents | 2ea7591584ab |
children | aee9a279a0f3 |
comparison
equal
deleted
inserted
replaced
517:d8f4a0fc77d3 | 518:9480a76471b6 |
---|---|
232 } | 232 } |
233 | 233 |
234 /* Initialize N-Curses */ | 234 /* Initialize N-Curses */ |
235 scr_LogPrint(LPRINT_DEBUG, "Initializing N-Curses..."); | 235 scr_LogPrint(LPRINT_DEBUG, "Initializing N-Curses..."); |
236 scr_InitCurses(); | 236 scr_InitCurses(); |
237 | |
238 scr_LogPrint(LPRINT_DEBUG, "Drawing main window..."); | |
239 scr_DrawMainWindow(TRUE); | 237 scr_DrawMainWindow(TRUE); |
240 | 238 |
241 optval = (settings_opt_get_int("logging") > 0); | 239 optval = (settings_opt_get_int("logging") > 0); |
242 optval2 = (settings_opt_get_int("load_logs") > 0); | 240 optval2 = (settings_opt_get_int("load_logs") > 0); |
243 if (optval || optval2) | 241 if (optval || optval2) |