fix XInitThreads() error check

This commit is contained in:
josh committed 2020-07-09 11:04:07 -04:00
1 parent a0910191da
commit d3203c7790
1 file changed
+1 -1
+1 -1
View File
@@ -28,7 +28,7 @@ bool jtk_init()
None,
};
if (XInitThreads() != 0)
if (XInitThreads() == 0)
{
fprintf(stderr, "XInitThreads() failure\n");
return false;