Use "<dynamic full path of current dir>\\locale" to bindtextdomain() only for the target "bdist-win32"

This commit is contained in:
dolphin6k 2022-02-09 23:12:12 +09:00
parent e9fdbe9373
commit b71955c150
2 changed files with 28 additions and 28 deletions

View file

@ -1118,7 +1118,7 @@ static int set_current_language(const char *restrict loc, int * ptr_num_wished_l
DEBUG_PRINTF("Locale AFTER is: %s\n", setlocale(LC_ALL, NULL)); //EP
#ifdef WIN32
#ifdef BDIST_WIN32
// FIXME: After the update of MinGW/MSYS2 in January 2022, gettext() no longer find
// translation (.mo) files unless dirname is specified by full path.
//