[Scummvm-git-logs] scummvm master -> a1dab31c08a38d8e023377e84d9122f0309ee921

criezy criezy at scummvm.org
Mon Apr 24 02:31:29 CEST 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
a1dab31c08 WIN32: Fix compilation of getScreenshotPath (missing parenthesis)


Commit: a1dab31c08a38d8e023377e84d9122f0309ee921
    https://github.com/scummvm/scummvm/commit/a1dab31c08a38d8e023377e84d9122f0309ee921
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2017-04-24T01:28:50+01:00

Commit Message:
WIN32: Fix compilation of getScreenshotPath (missing parenthesis)

Changed paths:
    backends/platform/sdl/win32/win32.cpp


diff --git a/backends/platform/sdl/win32/win32.cpp b/backends/platform/sdl/win32/win32.cpp
index a29151a..e09fb5e 100644
--- a/backends/platform/sdl/win32/win32.cpp
+++ b/backends/platform/sdl/win32/win32.cpp
@@ -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;
 	}





More information about the Scummvm-git-logs mailing list