app: open the Windows console a bit earlier.

If we enable the console on Windows, we might as well open it as fast as
possible, since its purpose is debugging.

(cherry picked from commit c9d7618056)
This commit is contained in:
Jehan 2018-08-15 14:24:15 +02:00
parent 624edf9017
commit d5b0f71b4c
1 changed files with 4 additions and 4 deletions

View File

@ -310,6 +310,10 @@ main (int argc,
gchar *backtrace_file = NULL;
gint i;
#ifdef ENABLE_WIN32_DEBUG_CONSOLE
gimp_open_console_window ();
#endif
#if defined (__GNUC__) && defined (_WIN64)
/* mingw-w64, at least the unstable build from late July 2008,
* starts subsystem:windows programs in main(), but passes them
@ -395,10 +399,6 @@ main (int argc,
}
#endif
#ifdef ENABLE_WIN32_DEBUG_CONSOLE
gimp_open_console_window ();
#endif
gimp_init_malloc ();
gimp_env_init (FALSE);