svn commit: r473763 - head/graphics/opendx/files
Stephen Montgomery-Smith
stephen at FreeBSD.org
Mon Jul 2 18:11:59 UTC 2018
Author: stephen
Date: Mon Jul 2 18:11:57 2018
New Revision: 473763
URL: https://svnweb.freebsd.org/changeset/ports/473763
Log:
- A more appropriate patch than that provided by r473695.
Modified:
head/graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C
Modified: head/graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C
==============================================================================
--- head/graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C Mon Jul 2 17:55:08 2018 (r473762)
+++ head/graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C Mon Jul 2 18:11:57 2018 (r473763)
@@ -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());
More information about the svn-ports-all
mailing list