aboutsummaryrefslogtreecommitdiff
path: root/graphics/opendx
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2018-07-02 18:11:57 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2018-07-02 18:11:57 +0000
commit285a20802eb332b4bdc58e901e61a8ff4d38f12c (patch)
tree1d5dcaec4f94d0dc072a9589938a51fe4b1ec35f /graphics/opendx
parent8327de13f168527c370593f40f80a1203a45c92f (diff)
downloadports-285a20802eb332b4bdc58e901e61a8ff4d38f12c.tar.gz
ports-285a20802eb332b4bdc58e901e61a8ff4d38f12c.zip
Notes
Diffstat (limited to 'graphics/opendx')
-rw-r--r--graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C b/graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C
index b09683034a2e..05b8655af81c 100644
--- a/graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C
+++ b/graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C
@@ -5,7 +5,7 @@
const char *tmpdir = theDXApplication->getTmpDirectory();
int tmpdirlen = STRLEN(tmpdir);
- if (!tmpdirlen) return FALSE;
-+ if (!tmpdirlen) return (char*) FALSE;
++ if (!tmpdirlen) return NULL;
if (tmpdir[tmpdirlen-1] == '/') {
sprintf(netfilename, "%sdx%d.net", tmpdir, getpid());
sprintf(cfgfilename, "%sdx%d.cfg", tmpdir, getpid());