Improve messages shown by /window size

This commit is contained in:
Kevin Easton
2015-11-11 14:59:21 +11:00
parent 4ee14e00c2
commit 8886c20c1b
2 changed files with 6 additions and 4 deletions

View File

@@ -1,5 +1,7 @@
[Changes 1.2.2] [Changes 1.2.2]
* Improve some messages in /window size (reported by cpet). (caf)
* Improve messages around DCC auto-get / auto-rename / auto-resume. (caf) * Improve messages around DCC auto-get / auto-rename / auto-resume. (caf)
* Fix spelling of "receive" in all client output. (caf) * Fix spelling of "receive" in all client output. (caf)

View File

@@ -574,7 +574,7 @@ static void swap_window(Window *v_window, Window *window)
if (!window) if (!window)
{ {
if (!get_int_var(WINDOW_QUIET_VAR)) if (!get_int_var(WINDOW_QUIET_VAR))
say("The window to be swapped in does not exist."); say("The window to be swapped in doesn't exist.");
return; return;
} }
@@ -707,7 +707,7 @@ void BX_resize_window(int how, Window *window, int offset)
if (!window->visible) if (!window->visible)
{ {
if (!get_int_var(WINDOW_QUIET_VAR)) if (!get_int_var(WINDOW_QUIET_VAR))
say("You cannot change the size of hidden windows!"); say("You can't change the size of hidden windows.");
return; return;
} }
@@ -732,7 +732,7 @@ void BX_resize_window(int how, Window *window, int offset)
if (other == window) if (other == window)
{ {
say("Can't change the size of this window!"); say("You can't change the size of the only visible, resizable window.");
return; return;
} }
@@ -767,7 +767,7 @@ void BX_resize_window(int how, Window *window, int offset)
if ((window_size < 0) || (other_size < 0)) if ((window_size < 0) || (other_size < 0))
{ {
if (!get_int_var(WINDOW_QUIET_VAR)) if (!get_int_var(WINDOW_QUIET_VAR))
say("Not enough room to resize this window!"); say("Not enough room to resize this window.");
return; return;
} }