Skip to content

Commit

Permalink
all: return a proper code at initialization (#33)
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Watts <brian.watts@virginmedia.co.uk>
  • Loading branch information
bw31642 and Brian Watts authored Oct 28, 2022
1 parent 8eb5153 commit 64c2cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clipboard_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ int initX11() {
}
libX11 = dlopen("libX11.so", RTLD_LAZY);
if (!libX11) {
return -1;
return 0;
}
P_XOpenDisplay = (Display* (*)(int)) dlsym(libX11, "XOpenDisplay");
P_XCloseDisplay = (void (*)(Display*)) dlsym(libX11, "XCloseDisplay");
Expand Down

0 comments on commit 64c2cf5

Please sign in to comment.