VNC Viewer: fixed bug in create_palette.

git-svn-id: svn://kolibrios.org@5752 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2015-08-20 14:40:59 +00:00
parent 0212e7a18e
commit 6830167e8a

View File

@ -17,10 +17,10 @@ create_palette:
push eax ecx edi
movzx ecx, [palettesize]
lea ecx, [ecx*BYTES_PER_CPIXEL]
lea edi, [ecx*BYTES_PER_CPIXEL]
@@:
lea eax, [esi+ecx]
lea eax, [esi+edi]
cmp [datapointer], eax
jae @f
call read_data.more