small fix in 't_edit'

git-svn-id: svn://kolibrios.org@5939 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
IgorA 2015-12-01 12:51:32 +00:00
parent 612d1e757d
commit eb687aadb4
3 changed files with 6 additions and 6 deletions

View File

@ -781,6 +781,8 @@ end if
sub dword[n],4 sub dword[n],4
jmp .cycle_1 jmp .cycle_1
.cycle_2: ;while (n>=0) .cycle_2: ;while (n>=0)
cmp dword[n],0
jl .cycle_2_end
if INTERP_RGB eq 1 if INTERP_RGB eq 1
; коректирование испорченных пикселей (в конце линии) ; коректирование испорченных пикселей (в конце линии)
bt dword[or1],31 bt dword[or1],31
@ -811,8 +813,6 @@ if INTERP_RGB eq 1
mov dword[ob1],0xff00 mov dword[ob1],0xff00
.end_b: .end_b:
end if end if
cmp dword[n],0
jl .cycle_2_end
PUT_PIXEL 0 PUT_PIXEL 0
if INTERP_Z eq 1 if INTERP_Z eq 1
add dword[pz],2 ;=sizeof(uint) add dword[pz],2 ;=sizeof(uint)

View File

@ -17,10 +17,7 @@ struct symbol
td dd ? ;+14 ∇ガ. <EFBFBD><EFBFBD><EFBFBD> td dd ? ;+14 ∇ガ. <EFBFBD><EFBFBD><EFBFBD>
ends ends
sc system_colors
bmp_icon dd 0 bmp_icon dd 0
run_file_70 FileInfoBlock
;input: ;input:

View File

@ -84,7 +84,7 @@ icon_tl_sys dd 0 ;㪠
align 4 align 4
start: start:
mcall 48,3,sc,sizeof.system_colors mcall 48,3,sc,sizeof.sys_colors_new
mcall 68,11 mcall 68,11
or eax,eax or eax,eax
@ -596,6 +596,9 @@ i_end:
last_open_synt_file rb 32 ;¨¬ï ¯®á«¥¤­¥£® ¯®¤ª«î祭­®£® ä ©«  ᨭ⠪á¨á  last_open_synt_file rb 32 ;¨¬ï ¯®á«¥¤­¥£® ¯®¤ª«î祭­®£® ä ©«  ᨭ⠪á¨á 
buf rb BUF_SIZE ;¡ãä¥à ¤«ï ª®¯¨à®¢ ­¨ï ¨ ¢áâ ¢ª¨ buf rb BUF_SIZE ;¡ãä¥à ¤«ï ª®¯¨à®¢ ­¨ï ¨ ¢áâ ¢ª¨
buf_find rb 302 ;¡ãä¥à ¤«ï ¯®¨áª  ⥪áâ  buf_find rb 302 ;¡ãä¥à ¤«ï ¯®¨áª  ⥪áâ 
run_file_70 FileInfoBlock
sc system_colors
rb sizeof.sys_colors_new-sizeof.system_colors
IncludeUGlobals IncludeUGlobals
align 16 align 16
procinfo process_information procinfo process_information