summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Sonnenberger <joerg@NetBSD.org>2014-05-22 00:15:36 +0200
committerThomas Klausner <wiz@NetBSD.org>2014-05-23 17:57:29 +0200
commitbb926ce84421b1fc9795c229ce32332b77a4b18d (patch)
treec0a2f7e8f9eccbefe3e1c156879ace0d6d66446b
parent15382f62a734d5b4bde30378dab525deadae72c2 (diff)
Fix tautology to the intended check.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
-rw-r--r--handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handler.c b/handler.c
index e61687e..87a928e 100644
--- a/handler.c
+++ b/handler.c
@@ -320,7 +320,7 @@ SaveFormattedPage(Widget w, XEvent * event, String * params,
* 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]) {