forked from KolibriOS/kolibrios
unz: Fix password dialog.
git-svn-id: svn://kolibrios.org@8900 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
3fea35804d
commit
23f728b028
@ -108,9 +108,9 @@ endp
|
|||||||
proc DialogBox dlgInfo:dword
|
proc DialogBox dlgInfo:dword
|
||||||
pushad
|
pushad
|
||||||
mov ebx,[dlgInfo]
|
mov ebx,[dlgInfo]
|
||||||
mov eax,[ebx+19*4]
|
mov ebx,[ebx+25*4]
|
||||||
mov [forpassword],eax
|
add ebx, 12 ; password_ansi
|
||||||
mov byte[eax], 0
|
mov [edtPassword+9*4], ebx ; text
|
||||||
mov [stateDlg], 0
|
mov [stateDlg], 0
|
||||||
mcall 51,1,threadDialogBox,stackDlg
|
mcall 51,1,threadDialogBox,stackDlg
|
||||||
|
|
||||||
@ -133,8 +133,6 @@ endp
|
|||||||
proc threadDialogBox
|
proc threadDialogBox
|
||||||
|
|
||||||
mcall 40, 100111b+0C000000h
|
mcall 40, 100111b+0C000000h
|
||||||
mov eax,[forpassword]
|
|
||||||
mov [edtPassword+4*9],eax
|
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov dword[edtPassword.size], eax
|
mov dword[edtPassword.size], eax
|
||||||
mov dword[edtPassword.pos], eax
|
mov dword[edtPassword.pos], eax
|
||||||
|
@ -663,7 +663,6 @@ strDots db '...', 0
|
|||||||
; int num_buttons, const char* buttons[]);
|
; int num_buttons, const char* buttons[]);
|
||||||
; int __stdcall DialogBox(DLGDATA* dlg);
|
; int __stdcall DialogBox(DLGDATA* dlg);
|
||||||
|
|
||||||
forpassword rd 1
|
|
||||||
stateDlg dd 0 ;0 - in process, 1 - button ok, 2 - button cancel
|
stateDlg dd 0 ;0 - in process, 1 - button ok, 2 - button cancel
|
||||||
errmess0 dd strErrorExc
|
errmess0 dd strErrorExc
|
||||||
|
|
||||||
@ -765,7 +764,7 @@ edtPack edit_box (WIN_W-100-60),100,10,0FFFFFFh,0xff,0x80ff,0h,0x90000000,\
|
|||||||
edtUnpPath edit_box (WIN_W-100-60),100,35,0FFFFFFh,0xff,0x80ff,0h,0x90000000,\
|
edtUnpPath edit_box (WIN_W-100-60),100,35,0FFFFFFh,0xff,0x80ff,0h,0x90000000,\
|
||||||
1024, pathOut, 0,0,0,0
|
1024, pathOut, 0,0,0,0
|
||||||
edtPassword edit_box 200, 56, 40, 0FFFFFFh,0xff,0x80ff,0h,0x90000000,\
|
edtPassword edit_box 200, 56, 40, 0FFFFFFh,0xff,0x80ff,0h,0x90000000,\
|
||||||
255, password, 0, ed_focus+ed_always_focus ;+ed_pass
|
255, 0, 0, ed_focus+ed_always_focus ;+ed_pass
|
||||||
|
|
||||||
endEdits:
|
endEdits:
|
||||||
|
|
||||||
@ -864,7 +863,6 @@ path rb 512
|
|||||||
fInp rb 1024
|
fInp rb 1024
|
||||||
pathOut rb 1024 ;¯ãâì, ªã¤ à ᯠªã¥âáï ¢áñ
|
pathOut rb 1024 ;¯ãâì, ªã¤ à ᯠªã¥âáï ¢áñ
|
||||||
files rd 256
|
files rd 256
|
||||||
password rb 256
|
|
||||||
|
|
||||||
fZipInfo rb 40
|
fZipInfo rb 40
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user