mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
core: display an error message in case of invalid size with command /window resize
This commit is contained in:
@@ -8170,6 +8170,8 @@ COMMAND_CALLBACK(window)
|
||||
gui_window_resize (ptr_tree, number);
|
||||
}
|
||||
}
|
||||
else
|
||||
COMMAND_ERROR;
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user