From 285a20802eb332b4bdc58e901e61a8ff4d38f12c Mon Sep 17 00:00:00 2001 From: Stephen Montgomery-Smith Date: Mon, 2 Jul 2018 18:11:57 +0000 Subject: [PATCH] - A more appropriate patch than that provided by r473695. --- graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());