From: Christian Heller <c.heller@plomlompom.de>
Date: Tue, 18 Mar 2014 05:24:51 +0000 (+0100)
Subject: Client: Fixed window resizing bug.
X-Git-Tag: tce~813
X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/static/error?a=commitdiff_plain;h=1233a72ad3321fe69a8b43a70e077a7be00f8918;p=plomrogue

Client: Fixed window resizing bug.
---

diff --git a/src/client/windows.c b/src/client/windows.c
index 6859e08..4ef01c3 100644
--- a/src/client/windows.c
+++ b/src/client/windows.c
@@ -911,7 +911,7 @@ extern void resize_active_win(char change)
         {
             w->frame_size.y--;
         }
-        else if (change == '_' && w->frame_size.y > 1)
+        else if (change == '_' && w->frame_size.x > 1)
         {
             w->frame_size.x--;
         }