mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-11-10 14:21:25 +01:00
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.) |
||
|---|---|---|
| .. | ||
| ams_su.c | ||
| ams_su.h | ||
| assert.hpp | ||
| main.cpp | ||
| service_guard.h | ||
| ui_util.cpp | ||
| ui_util.hpp | ||
| ui.cpp | ||
| ui.hpp | ||