[BACK]Return to patch-handler.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / xman / patches

File: [cvs.NetBSD.org] / pkgsrc / x11 / xman / patches / Attic / patch-handler.c (download)

Revision 1.1, Sun May 18 21:26:02 2014 UTC (6 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2

Fix tautology to the intended check. Bump revision.

$NetBSD: patch-handler.c,v 1.1 2014/05/18 21:26:02 joerg Exp $

--- handler.c.orig	2014-05-16 15:36:10.000000000 +0000
+++ handler.c
@@ -320,7 +320,7 @@ SaveFormattedPage(Widget w, XEvent * eve
  * If we are not active then take no action.
  */
 
-    if (man_globals->tempfile == NULL)
+    if (man_globals->tempfile[0] == '\0')
         return;
 
     switch (params[0][0]) {