FRONTPANEL: Fix clang compiler warning

This commit is contained in:
Mark Pizzolato 2018-01-12 16:35:51 -08:00
parent c4e55d0f6b
commit c494e1a120

View file

@ -68,7 +68,7 @@ while (1) {
buf_size = len + 1;
buf[buf_size] = '\0';
}
while (c = strstr (buf, "\r\n"))
while ((c = strstr (buf, "\r\n")))
memmove (c, c + 1, strlen (c));
printw ("%s", buf);
}