Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1716 → Rev 1717

/programs/develop/libraries/buf2d/trunk/buf2d.asm
1045,12 → 1045,15
mov ecx,dword[coord_y0]
mov edx,dword[color]
mov esi,dword[coord_x1]
cmp ebx,esi
jle @f
xchg ebx,esi ;¥á«¨ x0 > x1 â® ¬¥­ï¥¬ ¬¥áâ ¬¨ x0 ¨ x1
@@: ;for (x=x0 ; x<x1; x++) ;------------------------------------
@@: ;横« ¯® ®á¨ x ®â x0 ¤® x1
cmp ebx,esi
jge @f
call draw_pixel
inc ebx
cmp ebx,esi
jge @f
jmp @b
@@:
.end24:
1099,6 → 1102,8
mov edx,[w]
add edx,eax
mov ecx,[h]
cmp ecx,1 ;áà ¢­¥­¨¥ á ¬¨­¨¬ «ì­® ¢®§¬®¦­®© ¢ëá®â®©
jl .coord_end ;¥á«¨ ¢ëá®â  ¬¥­ìè¥ 1-£® ¯¨ªá¥«ï
mov esi,dword[color]
cld
@@: