Skip to content

Commit

Permalink
win32: Don't call dyn_libintl_init() from os_w32exe.c
Browse files Browse the repository at this point in the history
No need to call dyn_libintl_init() from os_w32exe.c if `VIMDLL` is not
defined.  (Do we still need to support `VIMDLL`?)
  • Loading branch information
k-takata committed Mar 25, 2019
1 parent 08d7300 commit c97e118
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/os_w32exe.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,12 @@ WinMain(
/* Ron: added full path name so that the $VIM variable will get set to our
* startup path (so the .vimrc file can be found w/o a VIM env. var.) */
GetModuleFileName(NULL, prog, 255);
#endif

#ifdef DYNAMIC_GETTEXT
# ifdef DYNAMIC_GETTEXT
/* Initialize gettext library */
dyn_libintl_init();
#endif
# endif

#ifdef VIMDLL
// LoadLibrary - get name of dll to load in here:
p = strrchr(prog, '\\');
if (p != NULL)
Expand Down

0 comments on commit c97e118

Please sign in to comment.