diff --git a/menu/intl/menu_hash_nl.c b/menu/intl/menu_hash_nl.c index 5a2af4d14c..5ed1f6a89c 100644 --- a/menu/intl/menu_hash_nl.c +++ b/menu/intl/menu_hash_nl.c @@ -16,7 +16,8 @@ #include #include -#include + +#include #include "../menu_hash.h" @@ -754,6 +755,7 @@ int menu_hash_get_help_nl(uint32_t hash, char *s, size_t len) switch (hash) { default: + strlcpy(s, "Geen informatie beschikbaar.", len); return -1; } diff --git a/menu/intl/menu_hash_us.c b/menu/intl/menu_hash_us.c index 8ac2aa68dd..8613e6e9ba 100644 --- a/menu/intl/menu_hash_us.c +++ b/menu/intl/menu_hash_us.c @@ -2257,7 +2257,8 @@ int menu_hash_get_help_us(uint32_t hash, char *s, size_t len) "Positive Y axis is down."); break; default: - strlcpy(s, "No information is available.", len); + if (s[0] == '\0') + strlcpy(s, "No information is available.", len); return -1; }