From 5b17c02376609fc2e028b4a9a24e23d5ea2b0412 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 7 Mar 2018 22:10:20 +0100 Subject: [PATCH] shellexec.c: fix uninitialized variable --- shellexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shellexec.c b/shellexec.c index 28b238b..237f02c 100644 --- a/shellexec.c +++ b/shellexec.c @@ -1374,7 +1374,7 @@ static void ShowInfo(MENU *m, int knew ) RenderBox(ixw-sbw + sbo, moffs + scrollbar_ofs + sbo, ixw - sbo, moffs + scrollbar_ofs + scrollbar_cor - sbo, radius, COL_MENUCONTENT_PLUS_3); } int iw,ih; - int offset, hoffs = (m->headermed[m->act_header]==1)?0:scale2res(48); + int offset = 0, hoffs = (m->headermed[m->act_header]==1)?0:scale2res(48); int ioffs = xoffs+8; // + half standard icon if(m->icon[m->act_header]) { -- 2.39.5