cmm: small fixes

git-svn-id: svn://kolibrios.org@3433 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2013-03-30 14:08:01 +00:00
parent 7506d07dd9
commit e7fb8b345e
2 changed files with 12 additions and 13 deletions

View File

@ -113,16 +113,16 @@ void Write_Error(int error_number)
dword StrToCol(char* htmlcolor) dword StrToCol(char* htmlcolor)
{ {
dword color; dword j, color=0;
char j, ch; char ch=0x00;
FOR (j=0; j<6; j++) FOR (j=0; j<6; j++)
{ {
ch=ESBYTE[htmlcolor+j]; ch=ESBYTE[htmlcolor+j];
IF ((ch>='0') && (ch<='9')) ch -= '0'; IF ((ch>='0') && (ch<='9')) ch -= '0';
IF ((ch>='A') && (ch<='F')) ch -= 'A'-10; IF ((ch>='A') && (ch<='F')) ch -= 'A'-10;
IF ((ch>='a') && (ch<='f')) ch -= 'a'-10; IF ((ch>='a') && (ch<='f')) ch -= 'a'-10;
color = color*0x10 + ch; color = color*0x10 + ch;
} }
return color; return color;
} }

View File

@ -67,7 +67,6 @@ void Install()
for (i = 0; copyfiles[i]!=0; i++) copyf(copyfiles[i]); for (i = 0; copyfiles[i]!=0; i++) copyf(copyfiles[i]);
ShowProgress("Post install actions..."); ShowProgress("Post install actions...");
RunProgram("/sys/launcher", NULL); RunProgram("/sys/launcher", NULL);
RunProgram("/sys/media/kiv", "\\S__/tmp9/1/wallpapers/Retro flower.jpg");
SetSystemSkin("/tmp9/1/skins/latte.skn"); SetSystemSkin("/tmp9/1/skins/latte.skn");
EndLoop(); EndLoop();
} }