diff options
| -rwxr-xr-x | src/librarian/library.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librarian/library.c b/src/librarian/library.c index 0ef65a3a..2c8ebd5a 100755 --- a/src/librarian/library.c +++ b/src/librarian/library.c @@ -553,7 +553,7 @@ int IsSameLib(library_t* lib, const char* path) if(!lib) return 0; char* name = Path2Name(path); - if((!strchr(path, '/') || lib->type==0)) { + if(!strchr(path, '/') || lib->type==0 || !lib->path) { if(strcmp(name, lib->name)==0) ret=1; } else { |