Small fix to get rid of ugly uninitialized lines in the serverscreen.
This commit is contained in:
@@ -69,6 +69,8 @@ server_screen_init ()
|
|||||||
if (line == 1) {
|
if (line == 1) {
|
||||||
w->type = WID_TITLE;
|
w->type = WID_TITLE;
|
||||||
strncpy (w->text, "LCDproc Server", MAX_SERVERSCREEN_WIDTH);
|
strncpy (w->text, "LCDproc Server", MAX_SERVERSCREEN_WIDTH);
|
||||||
|
} else {
|
||||||
|
w->text[0] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user