summaryrefslogtreecommitdiff
path: root/src/manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/manage.c')
-rw-r--r--src/manage.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/manage.c b/src/manage.c
index 90a3a2c..592200a 100644
--- a/src/manage.c
+++ b/src/manage.c
@@ -46,7 +46,6 @@ update_window_name (rp_window *win)
XTextProperty text;
char **name_list;
int list_len;
- int i;
/* Don't overwrite the window name if the user specified one. */
if (win->named) return 0;
@@ -63,11 +62,16 @@ update_window_name (rp_window *win)
return 0;
}
+ /* Sorta sick... */
#ifdef DEBUG
- for (i=0; i<list_len; i++)
- {
- PRINT_DEBUG ("WMName: %s\n", name_list[i]);
- }
+ {
+ int i;
+
+ for (i=0; i<list_len; i++)
+ {
+ PRINT_DEBUG ("WMName: %s\n", name_list[i]);
+ }
+ }
#endif /* DEBUG */
/* Set the window's name to the first in the name_list */