[Scummvm-git-logs] scummvm master -> 2a4632da8124b3dd497210e4a0bf76cf5a8a9128

phcoder noreply at scummvm.org
Thu Jan 19 23:47:02 UTC 2023


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:
2a4632da81 HADESCH: Use .empty() rather than comparing with "".


Commit: 2a4632da8124b3dd497210e4a0bf76cf5a8a9128
    https://github.com/scummvm/scummvm/commit/2a4632da8124b3dd497210e4a0bf76cf5a8a9128
Author: Vladimir Serbinenko (phcoder at gmail.com)
Date: 2023-01-20T00:46:53+01:00

Commit Message:
HADESCH: Use .empty() rather than comparing with "".

Changed paths:
    engines/hadesch/hadesch.cpp


diff --git a/engines/hadesch/hadesch.cpp b/engines/hadesch/hadesch.cpp
index d7bf26ded24..ce5db99b8ce 100644
--- a/engines/hadesch/hadesch.cpp
+++ b/engines/hadesch/hadesch.cpp
@@ -518,7 +518,7 @@ Common::Error HadeschEngine::run() {
 		}
 	}
 
-	if (_cdScenesPath == "") {
+	if (_cdScenesPath.empty()) {
 		debug("Cannot find OL.POD");
 		return Common::kUnsupportedGameidError;
 	}




More information about the Scummvm-git-logs mailing list