(NL) Implement 'No Information Is Available' string

This commit is contained in:
twinaphex 2015-06-25 08:09:11 +02:00
parent 7d85936e2b
commit 0dd1f1d858
2 changed files with 5 additions and 2 deletions

View File

@ -16,7 +16,8 @@
#include <stdint.h>
#include <string.h>
#include <rhash.h>
#include <compat/strl.h>
#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;
}

View File

@ -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;
}