mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-12 22:40:54 +01:00
fixed ffSettingsGetDConf
This commit is contained in:
1 parent
7ec32bf5d3
commit
7da0c76703
1 file changed
+1
-1
@@ -50,7 +50,7 @@ const char* ffSettingsGetDConf(FFinstance* instance, const char* key)
|
||||
|
||||
data.client = NULL; //error indicator
|
||||
|
||||
void* library = dlopen(instance->config.libDConf.chars == NULL ? "libdconf.so" : instance->config.libDConf.chars, RTLD_LAZY);
|
||||
void* library = dlopen(instance->config.libDConf.length == 0 ? "libdconf.so" : instance->config.libDConf.chars, RTLD_LAZY);
|
||||
if(library == NULL)
|
||||
{
|
||||
pthread_mutex_unlock(&mutex);
|
||||
|
||||
Reference in new issue
Block a user