From aca4e092285f822c037c1addcb614229ca6ab4bc Mon Sep 17 00:00:00 2001 From: Doczom Date: Sun, 14 Nov 2021 14:16:03 +0000 Subject: [PATCH] fixed content type definitions git-svn-id: svn://kolibrios.org@9266 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/clipview/clipview.c | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/cmm/clipview/clipview.c b/programs/cmm/clipview/clipview.c index 1facf2182e..0b68664ee1 100644 --- a/programs/cmm/clipview/clipview.c +++ b/programs/cmm/clipview/clipview.c @@ -156,6 +156,7 @@ void SelectList_DrawLine(dword i) EDX = ConvertSizeToKb(cdata.size); WriteText(GAP+44+16, yyy+TEXT_Y, 0x90, 0x000000, EDX); slot_data_type_number = cdata.type; + if (slot_data_type_number > 4) slot_data_type_number = 4; WriteText(GAP+140, yyy+TEXT_Y, 0x90, 0x000000, data_type[slot_data_type_number]); WriteTextB(GAP+list.w - 88, yyy+TEXT_Y, 0x90, 0x006597, "TEXT HEX"); DefineButton(GAP+list.w - 98, yyy, 50, LINE_H, 100+i+BT_HIDE, NULL);