From 519aa00149f17f00cc7067c2b957e3639b8411f5 Mon Sep 17 00:00:00 2001 From: Reginald Kennedy Date: Tue, 30 Apr 2013 01:45:12 +0800 Subject: [PATCH] Change global variable to local. --- spectrwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spectrwm.c b/spectrwm.c index 5bf74b1..93b4244 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -1989,12 +1989,12 @@ bar_window_name(char *s, size_t sz, struct swm_region *r) free(title); } -int urgent[SWM_WS_MAX]; void bar_urgent(char *s, size_t sz) { struct ws_win *win; int i, j, num_screens; + int urgent[SWM_WS_MAX]; char b[8]; xcb_get_property_cookie_t c; xcb_icccm_wm_hints_t hints; -- 1.7.10.4