summaryrefslogtreecommitdiff
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
parentb1dedab70e26e0924698a2133d7aa8c3dc771e8a (diff)
downloadratpoison-6fe283da373105f0de7e151c6a6282a5ede92467.zip
(frame_read): correctly determine if the input
starts with "(frame ".
-rw-r--r--ChangeLog5
-rw-r--r--src/frame.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 874629b..61d0832 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-15 Shawn Betts <katia_dilkina@verizon.net>
+
+ * src/frame.c (frame_read): correctly determine if the input
+ starts with "(frame ".
+
2005-01-15 Shawn Betts <sabetts@vcn.bc.ca>
* src/actions.c (cmd_prev): return a cmdret*. same for error
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);