scan: fix array indice

WTF.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-08-14 21:42:36 +02:00
parent a567917cc5
commit 5cb870c7b8
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ scan(void)
state = window_state_get_reply(state_wins[i]); state = window_state_get_reply(state_wins[i]);
has_awesome_prop = xutil_text_prop_get(globalconf.connection, wins[1], has_awesome_prop = xutil_text_prop_get(globalconf.connection, wins[i],
_AWESOME_PROPERTIES, NULL, NULL); _AWESOME_PROPERTIES, NULL, NULL);
if(!attr_r || attr_r->override_redirect if(!attr_r || attr_r->override_redirect