daybreak: fix strncpy compiler warning
GCC warned that the output string would not be nul-terminated if the
input string was too long.  Fix this by subtracting 1 from the size
argument, as is done for other `strncpy` calls in the file.  (It would
probably be better to avoid `strncpy` entirely, but this is just a
simple fix.)
1 parent 4237f52 commit 822cbbbc8b372c557649891aa84ed63c839965e5
@comex comex authored on 8 Aug
SciresM committed on 8 Aug
Showing 1 changed file
View
troposphere/daybreak/source/ui.cpp