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]>