diff options
author | sabetts <sabetts> | 2003-05-25 18:01:15 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2003-05-25 18:01:15 +0000 |
commit | 44a4cf517b078eefd0b48072e9e7967f1581e68e (patch) | |
tree | 60a075f803f09dc0feff3f91903fbebe3138e909 /src/actions.c | |
parent | 66bb699a0a4de0102f0c9b9edc785aa303858f35 (diff) | |
download | ratpoison-44a4cf517b078eefd0b48072e9e7967f1581e68e.zip |
* src/actions.c (cmd_gselect): if the user didn't type anything then return.
Diffstat (limited to 'src/actions.c')
-rw-r--r-- | src/actions.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actions.c b/src/actions.c index 5516dc5..0b5a323 100644 --- a/src/actions.c +++ b/src/actions.c @@ -3204,6 +3204,10 @@ cmd_gselect (int interactive, char *data) else str = xstrdup (data); + /* User aborted. */ + if (str == NULL) + return NULL; + g = find_group (str); if (g) |