Small fix to get rid of ugly uninitialized lines in the serverscreen.
This commit is contained in:
1 parent
91ffd9d109
commit
b346644c84
1 file changed
+2
@@ -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