1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[intl] const language_to_iso639

This commit is contained in:
Witold Filipczyk 2022-02-17 21:02:27 +01:00
parent 3f63e79cef
commit 647e00f950
4 changed files with 4 additions and 4 deletions

View File

@ -1386,7 +1386,7 @@ new_menu(menu_item_flags_T flags)
}
void
add_to_menu(struct menu_item **mi, const char *text, char *rtext,
add_to_menu(struct menu_item **mi, const char *text, const char *rtext,
main_action_T action_id, menu_func_T func, void *data,
menu_item_flags_T flags)
{

View File

@ -169,7 +169,7 @@ struct menu {
struct menu_item *new_menu(menu_item_flags_T);
void
add_to_menu(struct menu_item **mi, const char *text, char *rtext,
add_to_menu(struct menu_item **mi, const char *text, const char *rtext,
main_action_T action_id, menu_func_T func, void *data,
menu_item_flags_T flags);

View File

@ -133,7 +133,7 @@ iso639_to_language(const char *iso639)
int system_language = 0;
char *
const char *
language_to_iso639(int language)
{
/* Language is "system", we need to extract the index from

View File

@ -148,7 +148,7 @@ extern int name_to_language(const char *name);
extern int iso639_to_language(const char *iso639);
extern char *language_to_name(int language);
extern char *language_to_iso639(int language);
extern const char *language_to_iso639(int language);
extern int get_system_language_index(void);