mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04:00
[gettext] setenv -> env_set
This commit is contained in:
parent
b2054e1846
commit
7f85e0cd90
@ -10,6 +10,7 @@
|
|||||||
#include "elinks.h"
|
#include "elinks.h"
|
||||||
|
|
||||||
#include "intl/libintl.h"
|
#include "intl/libintl.h"
|
||||||
|
#include "util/env.h"
|
||||||
|
|
||||||
/* The number of the charset to which the "elinks" domain was last
|
/* The number of the charset to which the "elinks" domain was last
|
||||||
* bound with bind_textdomain_codeset(), or -1 if none yet. This
|
* bound with bind_textdomain_codeset(), or -1 if none yet. This
|
||||||
@ -216,7 +217,7 @@ set_language(int language)
|
|||||||
*p = '_';
|
*p = '_';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
setenv("LANGUAGE", LANGUAGE, 1);
|
env_set("LANGUAGE", LANGUAGE, -1);
|
||||||
|
|
||||||
_nl_msg_cat_cntr++;
|
_nl_msg_cat_cntr++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user