diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-10-25 20:21:43 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-10-25 20:21:43 -0700 |
commit | d88c69b97a9aa563cba0dc5c2b4aad2b4ce61b12 (patch) | |
tree | 27880310ad17a9a34ee576bdd4de22d8028af923 /main.c | |
parent | ac723ace81f5a47e04845a5028a34431152b656e (diff) | |
parent | b8a4730661be478d890aa3bc327d8af76ef4b86b (diff) | |
download | subsurface-d88c69b97a9aa563cba0dc5c2b4aad2b4ce61b12.tar.gz |
Merge branch 'uemis-next'
No reason to keep this in a separate branch. If we decide to make a 2.1.1
release we'll simply cherry pick only the fixes.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -242,7 +242,9 @@ int main(int argc, char **argv) init_ui(&argc, &argv); -#ifdef DEBUGFILE +#if DEBUGFILE > 1 + debugfile = stderr; +#elif defined(DEBUGFILE) debugfilename = (char *)subsurface_default_filename(); strncpy(debugfilename + strlen(debugfilename) - 3, "log", 3); if (g_mkdir_with_parents(g_path_get_dirname(debugfilename), 0664) != 0 || |