2017-12-15 Fred Gleason <fredg@paravelsystems.com>

* Fixed bugs that caused the build to break under Windows.
This commit is contained in:
Fred Gleason
2017-12-15 09:35:59 -05:00
parent 3b1ce13e77
commit 232096f635
3 changed files with 19 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ bool RDTextFile(const QString &data)
editor=getenv("VISUAL");
}
#ifdef WIN32
QString tempfile=QString().sprintf("%s\\rd-%s",(const char *)RDTempDir(),
QString tempfile=QString().sprintf("%s\\rd-%s",(const char *)RDTempDirectory::basePath(),
(const char *)QTime::currentTime().toString("hhmmsszzz"));
FILE *f=fopen(tempfile,"w");
if(f==NULL) {