KFar 0.64: fixed crash when plugin loading failed (found by Insolor)

git-svn-id: svn://kolibrios.org@1046 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Evgeny Grechnikov (Diamond) 2009-03-06 21:44:33 +00:00
parent f1c6ce150c
commit acc53d676a

View File

@ -7,8 +7,8 @@ memsize dd mem
dd stacktop dd stacktop
dd 0, app_path dd 0, app_path
version equ '0.63' version equ '0.64'
version_dword equ 0*10000h + 63 version_dword equ 0*10000h + 64
min_width = 54 min_width = 54
max_width = 255 max_width = 255
@ -978,7 +978,7 @@ enum_plugins_callback:
call load_dll_and_import.big call load_dll_and_import.big
.ret: .ret:
mov al, 1 mov al, 1
ret 12 ret 16
.absolute: .absolute:
; allocate space for plugin info ; allocate space for plugin info
mov eax, [num_plugins] mov eax, [num_plugins]