mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 21:51:34 +02:00
12 lines
279 B
Diff
12 lines
279 B
Diff
--- a/panel.cpp
|
|
+++ b/panel.cpp
|
|
@@ -48,7 +48,7 @@
|
|
gcm = GCGraphicsExposures;
|
|
gcv.graphics_exposures = False;
|
|
WinGC = XCreateGC(Dpy, Win, gcm, &gcv);
|
|
- if (WinGC < 0) {
|
|
+ if (WinGC == 0) {
|
|
cerr << APPNAME
|
|
<< ": failed to create pixmap\n.";
|
|
exit(ERR_EXIT);
|