diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-23 09:23:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-23 11:20:19 +0300 |
commit | 9d78b7edb98e769f6148d87b23709e28c5416ed0 (patch) | |
tree | 11febcd9d6b9fe29ef2c90dd4200ddfbc26674f0 /source/creator/creator_args.c | |
parent | 1d2fc413c89d434f5d5e140cd01522e562c10ecd (diff) |
Cleanup: use function instead of extern variable
Quiet undeclared variable warning.
Diffstat (limited to 'source/creator/creator_args.c')
-rw-r--r-- | source/creator/creator_args.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index 88476a69d4a..8465b3bbba4 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -1177,14 +1177,12 @@ static int arg_handle_no_window_focus(int UNUSED(argc), const char **UNUSED(argv return 0; } -extern bool wm_start_with_console; /* wm_init_exit.c */ - static const char arg_handle_start_with_console_doc[] = "\n\tStart with the console window open (ignored if -b is set), (Windows only)." ; static int arg_handle_start_with_console(int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) { - wm_start_with_console = true; + WM_init_state_start_with_console_set(true); return 0; } |