From d5b0f71b4c0b9b92e0b894a2c12a481bd45b0931 Mon Sep 17 00:00:00 2001 From: Jehan Date: Wed, 15 Aug 2018 14:24:15 +0200 Subject: [PATCH] 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 c9d761805668185ee3b33270d8edd3aa49bf1f3a) --- app/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/main.c b/app/main.c index b4507c94ca..ac98d01313 100644 --- a/app/main.c +++ b/app/main.c @@ -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);