diff options
author | Koop Mast <kwm@FreeBSD.org> | 2014-11-30 15:31:42 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2014-11-30 15:31:42 +0000 |
commit | ba0d2f75346ac91cda487f6ff8499ce9cf715844 (patch) | |
tree | 94ea6944afb31dc23b1e05c24e516c68934ec979 /x11 | |
parent | 050d78cd43933b12a4a01052e1c6bd69cee296c0 (diff) |
Notes
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xman/files/patch-handler.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/x11/xman/files/patch-handler.c b/x11/xman/files/patch-handler.c new file mode 100644 index 000000000000..381d748d3bd1 --- /dev/null +++ b/x11/xman/files/patch-handler.c @@ -0,0 +1,24 @@ +From bb926ce84421b1fc9795c229ce32332b77a4b18d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=B6rg=20Sonnenberger?= <joerg@NetBSD.org> +Date: Thu, 22 May 2014 00:15:36 +0200 +Subject: Fix tautology to the intended check. + +Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> +Signed-off-by: Thomas Klausner <wiz@NetBSD.org> + +diff --git a/handler.c b/handler.c +index e61687e..87a928e 100644 +--- handler.c ++++ 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]) { +-- +cgit v0.10.2 + |