forked from KolibriOS/kolibrios
When KIV will start with parm "path of file", It is giving right path for OpenDialog now.
git-svn-id: svn://kolibrios.org@1594 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
23b7fbd318
commit
19e73b2f41
@ -29,10 +29,6 @@ START:
|
|||||||
|
|
||||||
invoke sort.START, 1
|
invoke sort.START, 1
|
||||||
|
|
||||||
; OpenDialog initialisation
|
|
||||||
push dword OpenDialog_data
|
|
||||||
call [OpenDialog_Init]
|
|
||||||
|
|
||||||
mov ecx, 1 ; for 15.4: 1 = tile
|
mov ecx, 1 ; for 15.4: 1 = tile
|
||||||
cmp word [@PARAMS], '\T'
|
cmp word [@PARAMS], '\T'
|
||||||
jz set_bgr
|
jz set_bgr
|
||||||
@ -40,6 +36,18 @@ START:
|
|||||||
cmp word [@PARAMS], '\S'
|
cmp word [@PARAMS], '\S'
|
||||||
jz set_bgr
|
jz set_bgr
|
||||||
|
|
||||||
|
cmp byte [@PARAMS], 0
|
||||||
|
jz @f
|
||||||
|
mov esi, @PARAMS
|
||||||
|
mov edi, path
|
||||||
|
mov ecx, 4096/4
|
||||||
|
rep movsd
|
||||||
|
mov byte [edi-1], 0
|
||||||
|
@@:
|
||||||
|
; OpenDialog initialisation
|
||||||
|
push dword OpenDialog_data
|
||||||
|
call [OpenDialog_Init]
|
||||||
|
|
||||||
; initialize keyboard handling
|
; initialize keyboard handling
|
||||||
invoke ini_get_shortcut, inifilename, aShortcuts, aNext, -1, next_mod
|
invoke ini_get_shortcut, inifilename, aShortcuts, aNext, -1, next_mod
|
||||||
mov [next_key], eax
|
mov [next_key], eax
|
||||||
|
Loading…
Reference in New Issue
Block a user