diff options
author | sabetts <sabetts> | 2005-01-15 19:21:16 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2005-01-15 19:21:16 +0000 |
commit | 6fe283da373105f0de7e151c6a6282a5ede92467 (patch) | |
tree | eaaf5135d5db2d7dd905991d75bf75263e4fbef3 | |
parent | b1dedab70e26e0924698a2133d7aa8c3dc771e8a (diff) | |
download | ratpoison-6fe283da373105f0de7e151c6a6282a5ede92467.zip |
(frame_read): correctly determine if the input
starts with "(frame ".
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/frame.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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); |