forked from KolibriOS/kolibrios
a logic bugfix.
git-svn-id: svn://kolibrios.org@1100 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d912f84b17
commit
834b4db346
@ -164,16 +164,21 @@ ipc:
|
||||
min_window
|
||||
jmp .clear_ipc
|
||||
@@:
|
||||
|
||||
cmp word [app_ipc+8],3
|
||||
jne @f
|
||||
mov ecx,[slot_n]
|
||||
activ_window
|
||||
jmp .clear_ipc
|
||||
@@:
|
||||
call draw_number
|
||||
call dr_st
|
||||
|
||||
.clear_ipc:
|
||||
cld
|
||||
xor eax,eax
|
||||
mov ecx,32
|
||||
mov ecx,32/4
|
||||
mov edi,app_ipc
|
||||
rep stosb
|
||||
rep stosd
|
||||
jmp still
|
||||
|
||||
p_close:
|
||||
@ -314,7 +319,9 @@ shoot:
|
||||
|
||||
bt dword [ch2.flags],1 ; 祚<><E7A59A>碪 悚陋 能奶能桑洫瘔<E6B4AB> ?
|
||||
jnc @f
|
||||
|
||||
call show_scr_window
|
||||
ret
|
||||
@@:
|
||||
bt word [ch3.flags],1 ; ╳摽<E295B3>陋◢碪 悚陋 ?
|
||||
jnc @f
|
||||
@ -575,7 +582,7 @@ messages:
|
||||
.draw_number dw 0
|
||||
.draw_status dw 1
|
||||
.min_window dw 2
|
||||
|
||||
.act_window dw 3
|
||||
|
||||
grab_text:
|
||||
db title,0
|
||||
|
@ -6,7 +6,7 @@ scr_window:
|
||||
.red:
|
||||
call .draw_window
|
||||
.still:
|
||||
wait_event .red,close
|
||||
wait_event .red,.close
|
||||
jmp .still
|
||||
|
||||
.draw_window:
|
||||
@ -37,6 +37,19 @@ scr_window:
|
||||
|
||||
stop_draw_window
|
||||
ret
|
||||
.close:
|
||||
bt word [ch3.flags],1 ; ¢®ááâ ®¢¨âì ®ª® ?
|
||||
jnc @f
|
||||
|
||||
mov eax,60
|
||||
mov ebx,2
|
||||
mov ecx,[app.pid]
|
||||
mov edx,messages.act_window
|
||||
mov esi,2
|
||||
mcall
|
||||
@@:
|
||||
jmp close
|
||||
|
||||
.label label 20,20,0x80000000,$+4
|
||||
db '<27>â® ¢ è ᨬ®ª. ‚ë室 - «î¡ ï ª« ¢¨è .',0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user