Changeset 3c296ed4ec6f…
Parent d5ac2e721ea4…
by
Changes to one file · Browse files at 3c296ed4ec6f Showing diff from parent d5ac2e721ea4 Diff from another changeset...
@@ -584,6 +584,11 @@ cwd = IsDirectory(myFiles[0])? myFiles[0] : DirName(myFiles[0]);
const std::string tempfile = GetTemporaryFile();
+ if (tempfile.empty())
+ {
+ TDEBUG_TRACE("DoHgtk: error: GetTemporaryFile returned empty string");
+ return;
+ }
TDEBUG_TRACE("DoHgtk: temp file = " << tempfile);
HANDLE tempfileHandle = CreateFileA(
|
Loading...