void-packages/srcpkgs/xscreensaver/patches/fix-iso-c90-style-comments....

14 lines
569 B
Diff

--- hacks/fontglide.c 2018-09-03 01:56:45.000000000 +0300
+++ hacks/fontglide.c 2018-12-31 23:42:41.621417195 +0200
@@ -2421,8 +2421,8 @@ fontglide_free (Display *dpy, Window win
textclient_close (s->tc);
-// if (s->b && s->b != s->window) XFreePixmap (dpy, s->b);
-// if (s->ba && s->ba != s->b) XFreePixmap (dpy, s->ba);
+/* if (s->b && s->b != s->window) XFreePixmap (dpy, s->b);
+ if (s->ba && s->ba != s->b) XFreePixmap (dpy, s->ba); */
XFreeGC (dpy, s->bg_gc);
if (s->charset) free (s->charset);
if (s->font_override) free (s->font_override);