summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/actions/execute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/actions/execute.c b/openbox/actions/execute.c
index 376eee53..4d29fc19 100644
--- a/openbox/actions/execute.c
+++ b/openbox/actions/execute.c
@@ -169,9 +169,9 @@ static gboolean run_func(ObActionsData *data, gpointer options)
before = c + 4; /* 4 = strlen("$pid") */
}
else if ((c[1] == 'w' || c[1] == 'W') &&
- (c[2] == 'i' || c[2] == 'I') &&
- (c[3] == 'd' || c[3] == 'D') &&
- !g_ascii_isalnum(c[4]))
+ (c[2] == 'i' || c[2] == 'I') &&
+ (c[3] == 'd' || c[3] == 'D') &&
+ !g_ascii_isalnum(c[4]))
{
/* found $wid */
gchar *tmp;