From: Thilo Graf Date: Wed, 7 Mar 2018 21:10:20 +0000 (+0100) Subject: shellexec.c: fix uninitialized variable X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=5b17c02376609fc2e028b4a9a24e23d5ea2b0412;p=shellexec.git shellexec.c: fix uninitialized variable --- 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]) {