fix kolibri.h--

git-svn-id: svn://kolibrios.org@2239 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2011-09-26 11:42:41 +00:00
parent aec194c6f0
commit be325e41ec

View File

@ -269,19 +269,6 @@ inline fastcall dword StrToInt()
} }
/*int strcmp(char* string1, char* string2)
{
loop ()
{
IF (*string1<*string2) RETURN -1;
IF (*string1>*string2) RETURN 1;
IF (*string1=='\0') RETURN 0;
string1++;
string2++;
}
}*/
inline fastcall int strcmp(ESI, EDI) inline fastcall int strcmp(ESI, EDI)
{ {
loop() loop()
@ -306,21 +293,6 @@ inline fastcall unsigned int find_symbol(ESI,BL)
} }
dword StrToCol(char* htmlcolor)
{
dword j=1, color=0; char ch=0x00;
IF (ESBYTE[htmlcolor]<>'#') RETURN;
FOR (;j<7;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;
}
EAX=color;
}
inline fastcall dword upcase(dword ESI) inline fastcall dword upcase(dword ESI)
{ {
do{ do{