diff options
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r-- | gtk/src/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c index ac14413f2..cd23dae2c 100644 --- a/gtk/src/main.c +++ b/gtk/src/main.c @@ -814,6 +814,11 @@ main(int argc, char *argv[]) GError *error = NULL; GOptionContext *context; +#if defined(_WIN32) + // Tell gdk pixbuf where it's loader config file is. + _putenv_s("GDK_PIXBUF_MODULE_FILE", "ghb.exe.local/loaders.cache"); +#endif + hb_global_init(); #ifdef ENABLE_NLS |