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;