From 11b7b3cd30d378247104a5950e53c15316658346 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Wed, 23 Apr 2014 16:30:49 +0000 Subject: [PATCH] CMM: lots of fixes git-svn-id: svn://kolibrios.org@4885 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/appearance/appearance.c | 18 +++++----- programs/cmm/end/end.c | 50 ++++++++++++---------------- programs/cmm/installer/installer.c | 1 - programs/cmm/kolibrin/kolibrin.c | 2 +- 4 files changed, 33 insertions(+), 38 deletions(-) diff --git a/programs/cmm/appearance/appearance.c b/programs/cmm/appearance/appearance.c index fce4be8b76..b056ecffe4 100644 --- a/programs/cmm/appearance/appearance.c +++ b/programs/cmm/appearance/appearance.c @@ -28,8 +28,8 @@ unsigned char icons[]= FROM "icons.raw"; #define PANEL_H 30 -#define SKINS_STANDART_PATH "/kolibrios/res/skins/" -#define WALP_STANDART_PATH "/kolibrios/res/wallpapers/" +#define SKINS_STANDART_PATH "/kolibrios/res/skins" +#define WALP_STANDART_PATH "/kolibrios/res/wallpapers" llist list[2]; int active; @@ -65,11 +65,11 @@ void Open_Dir() { strcpy(#temp_filename, j*304 + buf+72); strlwr(#temp_filename); - if (active==SKINS) if (strcmp(#temp_filename+strlen(#temp_filename)-4,".skn")!=0) continue; - if (active==WALLPAPERS) if (strcmp(#temp_filename+strlen(#temp_filename)-4,".txt")==0) continue; + if (active==SKINS) if (strcmpi(#temp_filename+strlen(#temp_filename)-4,".skn")!=0) continue; + if (active==WALLPAPERS) if (strcmpi(#temp_filename+strlen(#temp_filename)-4,".txt")==0) continue; cur = list[active].count; files_mas[cur]=j; - if (!strcmp("default.skn",#temp_filename)) files_mas[0]>