Fixed Fplay opendialog crash
git-svn-id: svn://kolibrios.org@9025 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
048b0de963
commit
dbaf91c85e
@ -1,6 +1,6 @@
|
|||||||
NAME= Fplay
|
NAME= Fplay
|
||||||
|
|
||||||
FASM= fasm.exe
|
FASM= fasm
|
||||||
CC = kos32-gcc
|
CC = kos32-gcc
|
||||||
AR = kos32-ar
|
AR = kos32-ar
|
||||||
LD = kos32-ld
|
LD = kos32-ld
|
||||||
|
@ -83,12 +83,15 @@ _get_moviefile:
|
|||||||
|
|
||||||
push od
|
push od
|
||||||
call [opendialog_start]
|
call [opendialog_start]
|
||||||
|
cmp [od.status], 1
|
||||||
|
jne .fail
|
||||||
|
|
||||||
popad
|
popad
|
||||||
mov eax, [od.openfile_path]; selected filePath
|
mov eax, [od.openfile_path]; selected filePath
|
||||||
|
|
||||||
ret
|
ret
|
||||||
.fail:
|
.fail:
|
||||||
|
popad
|
||||||
xor eax, eax
|
xor eax, eax
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user