Buildfix for enum functions

This commit is contained in:
twinaphex 2016-06-15 23:12:38 +02:00
parent 99d09f779f
commit dcbba1a261
4 changed files with 4 additions and 6 deletions

View File

@ -18,7 +18,7 @@
#include "../menu_hash.h"
const char *menu_hash_to_str_de_eo_msg(enum menu_hash_enums msg)
const char *menu_hash_to_str_eo_enum(enum menu_hash_enums msg)
{
switch (msg)
{

View File

@ -31,7 +31,7 @@
/* DO NOT REMOVE THIS. If it causes build failure, it's because you saved the file as UTF-8. Read the above comment. */
extern const char force_iso_8859_1[sizeof("¿áéíÍñóºú")==9+1 ? 1 : -1];
const char *menu_hash_to_str_es_label_enum(enum menu_hash_enums msg)
const char *menu_hash_to_str_es_enum(enum menu_hash_enums msg)
{
switch (msg)
{

View File

@ -77,7 +77,6 @@ const char *menu_hash_to_str_enum(enum menu_hash_enums msg)
if (!settings)
return "null";
#if 0
#ifdef HAVE_LANGEXTRA
switch (settings->user_language)
{
@ -108,7 +107,6 @@ const char *menu_hash_to_str_enum(enum menu_hash_enums msg)
default:
break;
}
#endif
#endif
if (ret && !string_is_equal(ret, "null"))

View File

@ -2368,7 +2368,7 @@ const char *menu_hash_to_str_de_enum(enum menu_hash_enums msg);
int menu_hash_get_help_de(uint32_t hash, char *s, size_t len);
const char *menu_hash_to_str_es(uint32_t hash);
const char *menu_hash_to_str_es_label_enum(enum menu_hash_enums msg);
const char *menu_hash_to_str_es_enum(enum menu_hash_enums msg);
int menu_hash_get_help_es(uint32_t hash, char *s, size_t len);
const char *menu_hash_to_str_fr(uint32_t hash);
@ -2392,7 +2392,7 @@ const char *menu_hash_to_str_pt_enum(enum menu_hash_enums msg);
int menu_hash_get_help_pt(uint32_t hash, char *s, size_t len);
const char *menu_hash_to_str_eo(uint32_t hash);
const char *menu_hash_to_str_de_eo_msg(enum menu_hash_enums msg);
const char *menu_hash_to_str_eo_msg(enum menu_hash_enums msg);
int menu_hash_get_help_eo(uint32_t hash, char *s, size_t len);
const char *menu_hash_to_str_us(uint32_t hash);