diff src/os_win32.c @ 7784:29d4ee3f009a v7.4.1189

commit https://github.com/vim/vim/commit/923e43b837ca4c8edb7998743f142823eaeaf588 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 28 15:07:38 2016 +0100 patch 7.4.1189 Problem: Using another language on MS-Windows does not work. (Yongwei Wu) Solution: Undo the change to try loading libintl-8.dll first.
author Christian Brabandt <cb@256bit.org>
date Thu, 28 Jan 2016 15:15:04 +0100
parents 616769d423fc
children 0d46cea25641
line wrap: on
line diff
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -500,13 +500,12 @@ dyn_libintl_init()
     if (hLibintlDLL)
 	return 1;
     /* Load gettext library (libintl.dll) */
+    hLibintlDLL = vimLoadLib(GETTEXT_DLL);
 #ifdef GETTEXT_DLL_ALT
     if (!hLibintlDLL)
 	hLibintlDLL = vimLoadLib(GETTEXT_DLL_ALT);
 #endif
     if (!hLibintlDLL)
-	hLibintlDLL = vimLoadLib(GETTEXT_DLL);
-    if (!hLibintlDLL)
     {
 	if (p_verbose > 0)
 	{