diff --git a/programs/cmm/eolite/include/ini.h b/programs/cmm/eolite/include/ini.h index ae952e8d1..2b2c3bc85 100644 --- a/programs/cmm/eolite/include/ini.h +++ b/programs/cmm/eolite/include/ini.h @@ -113,16 +113,16 @@ void Write_Error(int error_number) dword StrToCol(char* htmlcolor) { - dword color; - char j, ch; - - FOR (j=0; j<6; j++) - { - ch=ESBYTE[htmlcolor+j]; - IF ((ch>='0') && (ch<='9')) ch -= '0'; - IF ((ch>='A') && (ch<='F')) ch -= 'A'-10; - IF ((ch>='a') && (ch<='f')) ch -= 'a'-10; - color = color*0x10 + ch; - } - return color; + dword j, color=0; + char ch=0x00; + + FOR (j=0; j<6; j++) + { + ch=ESBYTE[htmlcolor+j]; + IF ((ch>='0') && (ch<='9')) ch -= '0'; + IF ((ch>='A') && (ch<='F')) ch -= 'A'-10; + IF ((ch>='a') && (ch<='f')) ch -= 'a'-10; + color = color*0x10 + ch; + } + return color; } \ No newline at end of file diff --git a/programs/cmm/installer/installation.c b/programs/cmm/installer/installation.c index bab32e512..a6c687b3b 100644 --- a/programs/cmm/installer/installation.c +++ b/programs/cmm/installer/installation.c @@ -67,7 +67,6 @@ void Install() for (i = 0; copyfiles[i]!=0; i++) copyf(copyfiles[i]); ShowProgress("Post install actions..."); RunProgram("/sys/launcher", NULL); - RunProgram("/sys/media/kiv", "\\S__/tmp9/1/wallpapers/Retro flower.jpg"); SetSystemSkin("/tmp9/1/skins/latte.skn"); EndLoop(); }