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/blender/windowmanager/intern/wm_init_exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/windowmanager/intern/wm_init_exit.c') diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index d908a33c706..532404cf218 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -125,7 +125,7 @@ static void wm_free_reports(bContext *C) BKE_reports_clear(CTX_wm_reports(C)); } -int wm_start_with_console = 0; /* used in creator.c */ +bool wm_start_with_console = false; /* used in creator.c */ /* only called once, for startup */ void WM_init(bContext *C, int argc, const char **argv) -- cgit v1.2.3