Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7889 → Rev 7888

/programs/cmm/lib/draw_buf.h
64,7 → 64,7
}
}
 
void DrawBufer::WriteText(dword x, y, byte fontType, dword color, str_offset, strlen)
void DrawBufer::WriteText(dword x, y, byte fontType, dword color, str_offset)
{
#define BUGFIX_32000 32000
dword ydiv=0;
72,7 → 72,6
dword new_buf_offset;
if (y + 30 >= bufh) IncreaseBufSize();
if (y < BUGFIX_32000) {
ESI = strlen;
WriteBufText(x, y, fontType, color, str_offset, buf_data);
}
else {
85,7 → 84,6
 
ESDWORD[new_buf_offset] = bufw;
ESDWORD[new_buf_offset+4] = bufh - y;
ESI = strlen;
WriteBufText(x, y, fontType, color, str_offset, new_buf_offset);
 
ESDWORD[new_buf_offset] = reserve_data_1;