Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7162 → Rev 7163

/programs/cmm/lib/kolibri.h
476,11 → 476,14
$int 0x40
}
 
void PutPaletteImage(dword EBX,w,h,x,y,ESI,EDI)
:void PutPaletteImage(dword inbuf,w,h,x,y,bits,pal)
{
EAX = 65;
EBX = inbuf;
ECX = w<<16+h;
EDX = x<<16+y;
ESI = bits;
EDI = pal;
EBP = 0;
$int 0x40
}
/programs/cmm/lib/strings.h
901,7 → 901,7
return 0;
}
 
replace_char(dword in_str, char from_char, to_char, int length) {
:replace_char(dword in_str, char from_char, to_char, int length) {
int i;
for (i=0; i<length; i++) {
if (ESBYTE[in_str+i] == from_char) ESBYTE[in_str+i] = to_char;