summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);