From a79e10157dc7a1c8a102bf88f236d325ecdd8d80 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 22 Mar 2013 05:34:10 +0000 Subject: code cleanup: use NULL rather then 0 for pointers, and make vars static where possible. also found unintentionally defined enum/struct variables that where only meant to be defining the type. --- source/creator/creator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/creator') diff --git a/source/creator/creator.c b/source/creator/creator.c index ba6cc728eca..768c7458ecd 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -672,10 +672,10 @@ static int without_borders(int UNUSED(argc), const char **UNUSED(argv), void *UN return 0; } -extern int wm_start_with_console; /* wm_init_exit.c */ +extern bool wm_start_with_console; /* wm_init_exit.c */ static int start_with_console(int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) { - wm_start_with_console = 1; + wm_start_with_console = true; return 0; } -- cgit v1.2.3