WIN32: Fix compilation of getScreenshotPath (missing parenthesis)

This commit is contained in:
Thierry Crozat 2017-04-24 01:28:50 +01:00
parent 23987cc724
commit a1dab31c08

View File

@ -149,7 +149,7 @@ bool OSystem_Win32::openUrl(const Common::String &url) {
Common::String OSystem_Win32::getScreenshotsPath() {
Common::String screenshotsPath = ConfMan.get("screenshotpath");
if (!screenshotsPath.empty()) {
if (!screenshotsPath.hasSuffix("\\") && !screenshotsPath.hasSuffix("/")
if (!screenshotsPath.hasSuffix("\\") && !screenshotsPath.hasSuffix("/"))
screenshotsPath += "\\";
return screenshotsPath;
}