diff options
author | stephen <stephen@FreeBSD.org> | 2018-07-03 02:11:57 +0800 |
---|---|---|
committer | stephen <stephen@FreeBSD.org> | 2018-07-03 02:11:57 +0800 |
commit | 7f4df2db0d691fbaa604542d7e6f18af26f86205 (patch) | |
tree | 1d5dcaec4f94d0dc072a9589938a51fe4b1ec35f /graphics | |
parent | 9c1c0cd4c52f7d9d2abff77792b3b333787d4f98 (diff) | |
download | freebsd-ports-gnome-7f4df2db0d691fbaa604542d7e6f18af26f86205.tar.gz freebsd-ports-gnome-7f4df2db0d691fbaa604542d7e6f18af26f86205.tar.zst freebsd-ports-gnome-7f4df2db0d691fbaa604542d7e6f18af26f86205.zip |
- A more appropriate patch than that provided by r473695.
Diffstat (limited to 'graphics')
-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()); |