diff options
author | sabetts <sabetts> | 2002-01-24 10:13:34 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2002-01-24 10:13:34 +0000 |
commit | 15afe7617bf51dcdf7b74e3bb996ae632387924e (patch) | |
tree | ec5062cd59448f50a745466eb7c52f037d2a2aad | |
parent | 49b5e1cd2903a7d6fe15218cb0b4cf67b0674cd1 (diff) | |
download | ratpoison-15afe7617bf51dcdf7b74e3bb996ae632387924e.zip |
(wingravity_to_string): Fix the north gravity
string to return "n" not "ng".
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/actions.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -2,6 +2,8 @@ * src/actions.c (wingravity_to_string): Fix the north gravity string to return "n" not "ng". + (cmd_defborder): return NULL when no (or a bad) argument is passed + in. 2002-01-23 Shawn <sabetts@vcn.bc.ca> diff --git a/src/actions.c b/src/actions.c index b28e48a..17fe2b1 100644 --- a/src/actions.c +++ b/src/actions.c @@ -1851,6 +1851,7 @@ cmd_defborder (int interactive, void *data) || sscanf (data, "%d", &tmp) < 1) { message (" defborder: One argument required "); + return NULL; } if (tmp >= 0) |