summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2014-03-23 21:36:44 +0100
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2014-03-24 10:23:59 +0100
commitd095cad0bdf17872786fa30626dd16851e72ef69 (patch)
treefa7ecc830f2cef7f4f265a25e302bba91af18c56
parent46ee8dd01fc8c8b8d4c1e5e28f7ec549bba489d0 (diff)
downloadratpoison-d095cad0bdf17872786fa30626dd16851e72ef69.zip
In frestore flag a frame_read error as appropriate.
* while here kill a stray ';'
-rw-r--r--src/actions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c
index d755e02..07aeff9 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -5005,7 +5005,7 @@ frestore (char *data, rp_screen *s)
if (new == NULL)
{
free (d);
- return cmdret_new (RET_SUCCESS, "frestore: invalid frame format");;
+ return cmdret_new (RET_FAILURE, "frestore: invalid frame format");
}
list_add_tail (&new->node, &fset);
token = strtok_r (NULL, ",", &nexttok);