do not reexecute function on restore if f_name is NULL.
This commit is contained in:
parent
576d37510c
commit
f9cd010242
@ -133,7 +133,7 @@ LoadForeign(StringList ofiles, StringList libs,
|
||||
|
||||
ofiles->handle = handle;
|
||||
|
||||
if (!*init_proc)
|
||||
if (proc_name && !*init_proc)
|
||||
*init_proc = (YapInitProc) dlsym(handle,proc_name);
|
||||
|
||||
ofiles = ofiles->next;
|
||||
|
Reference in New Issue
Block a user