ports/graphics/opendx/files/patch-src_uipp_dxuilib_EditorWindow.C
2018-07-02 18:11:57 +00:00

11 lines
466 B
C

--- src/uipp/dxuilib/EditorWindow.C.orig 2018-07-02 02:13:46 UTC
+++ src/uipp/dxuilib/EditorWindow.C
@@ -5997,7 +5997,7 @@ char msg[128];
//
const char *tmpdir = theDXApplication->getTmpDirectory();
int tmpdirlen = STRLEN(tmpdir);
- if (!tmpdirlen) return FALSE;
+ if (!tmpdirlen) return NULL;
if (tmpdir[tmpdirlen-1] == '/') {
sprintf(netfilename, "%sdx%d.net", tmpdir, getpid());
sprintf(cfgfilename, "%sdx%d.cfg", tmpdir, getpid());