mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
Move 'No Information is Available' string to menu_hash_us.c
This commit is contained in:
parent
cbc269bb0c
commit
7d85936e2b
@ -17,6 +17,8 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include <compat/strl.h>
|
||||||
|
|
||||||
#include "../menu_hash.h"
|
#include "../menu_hash.h"
|
||||||
#include "../../configuration.h"
|
#include "../../configuration.h"
|
||||||
|
|
||||||
@ -2255,6 +2257,7 @@ int menu_hash_get_help_us(uint32_t hash, char *s, size_t len)
|
|||||||
"Positive Y axis is down.");
|
"Positive Y axis is down.");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
strlcpy(s, "No information is available.", len);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2035,12 +2035,7 @@ int setting_get_description(const char *label, char *s,
|
|||||||
{
|
{
|
||||||
uint32_t label_hash = menu_hash_calculate(label);
|
uint32_t label_hash = menu_hash_calculate(label);
|
||||||
|
|
||||||
if (menu_hash_get_help(label_hash, s, len) == 0)
|
return menu_hash_get_help(label_hash, s, len);
|
||||||
return 0;
|
|
||||||
|
|
||||||
strlcpy(s, "No information is available.", len);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void get_string_representation_bind_device(void * data, char *s,
|
static void get_string_representation_bind_device(void * data, char *s,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user