Subversion Repositories Kolibri OS

Rev

Rev 1582 | Rev 1701 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1582 Rev 1594
Line 27... Line 27...
27
    or  eax, eax
27
    or  eax, eax
28
    jnz exit
28
    jnz exit
Line 29... Line 29...
29
 
29
 
Line 30... Line -...
30
    invoke  sort.START, 1
-
 
31
 
-
 
32
; OpenDialog initialisation
-
 
33
    push    dword OpenDialog_data
-
 
34
    call    [OpenDialog_Init]
30
    invoke  sort.START, 1
35
 
31
 
36
    mov ecx, 1  ; for 15.4: 1 = tile
32
    mov ecx, 1  ; for 15.4: 1 = tile
37
    cmp word [@PARAMS], '\T'
33
    cmp word [@PARAMS], '\T'
38
    jz  set_bgr
34
    jz  set_bgr
39
    inc ecx ; for 15.4: 2 = stretch
35
    inc ecx ; for 15.4: 2 = stretch
Line -... Line 36...
-
 
36
    cmp word [@PARAMS], '\S'
-
 
37
    jz  set_bgr
-
 
38
 
-
 
39
    cmp byte [@PARAMS], 0
-
 
40
    jz @f
-
 
41
    mov esi, @PARAMS
-
 
42
    mov edi, path
-
 
43
    mov ecx, 4096/4
-
 
44
    rep movsd
-
 
45
    mov byte [edi-1], 0
-
 
46
@@:
-
 
47
; OpenDialog initialisation
40
    cmp word [@PARAMS], '\S'
48
    push    dword OpenDialog_data
41
    jz  set_bgr
49
    call    [OpenDialog_Init]
42
 
50
 
43
; initialize keyboard handling
51
; initialize keyboard handling
44
    invoke  ini_get_shortcut, inifilename, aShortcuts, aNext, -1, next_mod
52
    invoke  ini_get_shortcut, inifilename, aShortcuts, aNext, -1, next_mod