diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index c1da584..2834709 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -168,7 +168,11 @@ process_options(int &argc, char **&argv) static inline void initialize_environment(void) { - gchar **environ = g_get_environ(); + gchar **environ; + + g_setenv("SCITECOPATH", DEFAULT_SCITECOPATH, FALSE); + + environ = g_get_environ(); for (gchar **p = environ; *p; p++) { gchar *value = strchr(*p, '=') + 1; |