diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/logdiag.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/logdiag.c b/src/logdiag.c index a7821e7..99aa8de 100644 --- a/src/logdiag.c +++ b/src/logdiag.c @@ -21,6 +21,16 @@ main (int argc, char *argv[]) { GtkWidget *window; GError *error; +#ifdef _WIN32 + gchar *install_dir; + + install_dir = g_win32_get_package_installation_directory_of_module (NULL); + if (install_dir) + { + g_chdir (install_dir); + g_free (install_dir); + } +#endif setlocale (LC_ALL, ""); |