diff options
author | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2018-07-02 18:11:57 +0000 |
---|---|---|
committer | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2018-07-02 18:11:57 +0000 |
commit | 285a20802eb332b4bdc58e901e61a8ff4d38f12c (patch) | |
tree | 1d5dcaec4f94d0dc072a9589938a51fe4b1ec35f /graphics/opendx | |
parent | 8327de13f168527c370593f40f80a1203a45c92f (diff) | |
download | ports-285a20802eb332b4bdc58e901e61a8ff4d38f12c.tar.gz ports-285a20802eb332b4bdc58e901e61a8ff4d38f12c.zip |
Notes
Diffstat (limited to 'graphics/opendx')
-rw-r--r-- | graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C | 2 |
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()); |