From f89ac30f0907973b8aa858b053d38eec8e8f5bbf Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sat, 9 Nov 2013 04:00:09 +0100
Subject: [PATCH] Removed if-redundancy in get_drawfunc_by_char().

---
 src/wincontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/wincontrol.c b/src/wincontrol.c
index f6e0d29..7830636 100644
--- a/src/wincontrol.c
+++ b/src/wincontrol.c
@@ -266,7 +266,7 @@ static void * get_drawfunc_by_char(char c)
     {
         return draw_win_inventory;
     }
-    if      ('i' == c)
+    else if ('i' == c)
     {
         return draw_win_info;
     }
-- 
2.30.2