From: Christian Heller Date: Sat, 9 Nov 2013 03:00:09 +0000 (+0100) Subject: Removed if-redundancy in get_drawfunc_by_char(). X-Git-Tag: tce~931 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7Byoutube_prefix%7D%7D%7B%7Bvideo_id%7D%7D?a=commitdiff_plain;h=f89ac30f0907973b8aa858b053d38eec8e8f5bbf;p=plomrogue Removed if-redundancy in get_drawfunc_by_char(). --- 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; }