From 1c44dc6828ec14e04fb850fbf51201d40617ea53 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Tue, 26 Mar 2019 21:13:35 +0000 Subject: [PATCH] small fixes git-svn-id: svn://kolibrios.org@7617 a494cfbc-eb01-0410-851d-a64ba20cac60 --- data/common/File Managers/icons.ini | 1 + programs/cmm/iconedit/iconedit.c | 2 +- programs/other/graph/hello.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data/common/File Managers/icons.ini b/data/common/File Managers/icons.ini index 55fbd70423..d97bd4d711 100644 --- a/data/common/File Managers/icons.ini +++ b/data/common/File Managers/icons.ini @@ -139,6 +139,7 @@ html=13 mht=13 eml=13 lif=14 +grf=14 3ds=15 asc=15 vox=15 diff --git a/programs/cmm/iconedit/iconedit.c b/programs/cmm/iconedit/iconedit.c index 0e6bde9094..8d216aded4 100644 --- a/programs/cmm/iconedit/iconedit.c +++ b/programs/cmm/iconedit/iconedit.c @@ -407,7 +407,7 @@ void DrawWindow() void DrawLeftPanelSelection() { - DrawRectangle3D(5, previousTool*GAPV+right_bar.y-2, 16+3+2, 16+3+2, system.color.work, system.color.work); + if (previousTool!=-1) DrawRectangle3D(5, previousTool*GAPV+right_bar.y-2, 16+3+2, 16+3+2, system.color.work, system.color.work); DrawRectangle3D(5, currentTool*GAPV+right_bar.y-2, 16+3+2, 16+3+2, 0x333333, 0x777777); } diff --git a/programs/other/graph/hello.cpp b/programs/other/graph/hello.cpp index 9a1feac607..66b7540e46 100644 --- a/programs/other/graph/hello.cpp +++ b/programs/other/graph/hello.cpp @@ -45,7 +45,7 @@ char *funct = NULL; char edit_path[1024]; //Dword editbox_y = WND_H - 16, editbox_w = WND_W - 70; -edit_box mybox = {0,9*8-5,WND_H - 16-32,0xffffff,0x6a9480,0,0x808080,0x10000000,sizeof(edit_path),(dword)&edit_path, 64, 16386}; //100000000000010b}; +edit_box mybox = {0,9*8-5,WND_H - 16-32,0xffffff,0x94AECE,0,0x808080,0,sizeof(edit_path),0,(dword)&edit_path, 0, 0}; //100000000000010b}; char *full_head;