summaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2005-01-15 19:21:16 +0000
committersabetts <sabetts>2005-01-15 19:21:16 +0000
commit6fe283da373105f0de7e151c6a6282a5ede92467 (patch)
treeeaaf5135d5db2d7dd905991d75bf75263e4fbef3 /src/frame.c
parentb1dedab70e26e0924698a2133d7aa8c3dc771e8a (diff)
downloadratpoison-6fe283da373105f0de7e151c6a6282a5ede92467.zip
(frame_read): correctly determine if the input
starts with "(frame ".
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c
index 90b5990..f2cd8a2 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -208,7 +208,7 @@ frame_read (char *str)
tmp = strtok (dup, " ");
/* Verify it starts with '(frame ' */
- if (!strcmp(tmp, "(frame "))
+ if (strcmp(tmp, "(frame "))
{
PRINT_DEBUG(("Doesn't start with '(frame '\n"));
free (dup);