diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/actions.c | 6 | ||||
-rw-r--r-- | src/actions.h | 10 |
2 files changed, 10 insertions, 6 deletions
diff --git a/src/actions.c b/src/actions.c index ab9e12e..5516dc5 100644 --- a/src/actions.c +++ b/src/actions.c @@ -3291,6 +3291,10 @@ cmd_gmerge (int interactive, char *data) g = find_group (data); - groups_merge (g, rp_current_group); + if (g) + groups_merge (g, rp_current_group); + else + message (" gmerge: Cannot find group "); + return NULL; } diff --git a/src/actions.h b/src/actions.h index efc6e76..4629d5a 100644 --- a/src/actions.h +++ b/src/actions.h @@ -78,10 +78,15 @@ char *cmd_focusup (int interactive, char *data); char *cmd_frestore (int interactively, char *data); char *cmd_fselect (int interactive, char *data); char *cmd_getenv (int interactive, char *data); +char *cmd_gmerge (int interactive, char *data); +char *cmd_gmove (int interactive, char *data); char *cmd_gnew (int interactive, char *data); +char *cmd_gnewbg (int interactive, char *data); char *cmd_gnext (int interactive, char *data); char *cmd_gprev (int interactive, char *data); char *cmd_gravity (int interactive, char *data); +char *cmd_groups (int interactive, char *data); +char *cmd_gselect (int interactive, char *data); char *cmd_h_split (int interactive, char *data); char *cmd_help (int interactive, char *data); char *cmd_info (int interactive, char *data); @@ -127,11 +132,6 @@ char *cmd_verbexec (int interactive, char *data); char *cmd_version (int interactive, char *data); char *cmd_warp(int interactive, char *data); char *cmd_windows (int interactive, char *data); -char *cmd_gselect (int interactive, char *data); -char *cmd_groups (int interactive, char *data); -char *cmd_gmove (int interactive, char *data); -char *cmd_gmerge (int interactive, char *data); -char *cmd_gnewbg (int interactive, char *data); void initialize_default_keybindings (void); void free_keybindings (); |