Some little fixes

This commit is contained in:
wmayer
2012-12-10 14:02:37 +01:00
parent 1f51ebf8cf
commit bd5359f542
3 changed files with 1809 additions and 323 deletions

View File

@@ -154,6 +154,7 @@ std::string FileInfo::getTempFileName(const char* FileName, const char* Path)
// this already creates the file
GetTempFileNameW(path.c_str(),file.c_str(),0,buf);
DeleteFileW(buf);
return std::string(ConvertFromWideString(std::wstring(buf)));
#else