fix XInitThreads() error check
This commit is contained in:
1 parent
a0910191da
commit
d3203c7790
1 file changed
+1
-1
+1
-1
@@ -28,7 +28,7 @@ bool jtk_init()
|
||||
None,
|
||||
};
|
||||
|
||||
if (XInitThreads() != 0)
|
||||
if (XInitThreads() == 0)
|
||||
{
|
||||
fprintf(stderr, "XInitThreads() failure\n");
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user