Skip to content

Commit

Permalink
Merge pull request #6165 from nulano/dlerror
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Mar 31, 2022
2 parents b2d6671 + 237f6a2 commit 785faa8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/thirdparty/fribidi-shim/fribidi.c
Expand Up @@ -7,7 +7,6 @@
#endif

#define FRIBIDI_SHIM_IMPLEMENTATION

#include "fribidi.h"


Expand Down Expand Up @@ -86,7 +85,7 @@ int load_fribidi(void) {

#ifndef _WIN32
fribidi_version_info = *(const char**)dlsym(p_fribidi, "fribidi_version_info");
if (dlerror() || error || (fribidi_version_info == 0)) {
if (error || (fribidi_version_info == 0)) {
dlclose(p_fribidi);
p_fribidi = 0;
return 2;
Expand Down

0 comments on commit 785faa8

Please sign in to comment.