[Scummvm-git-logs] scummvm branch-2-9 -> 343640827d7b349de603f4aa61510a03754a2b1e
dreammaster
noreply at scummvm.org
Mon Jan 27 22:27:54 UTC 2025
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:
343640827d HOPKINS: Fix crash using elevator
Commit: 343640827d7b349de603f4aa61510a03754a2b1e
https://github.com/scummvm/scummvm/commit/343640827d7b349de603f4aa61510a03754a2b1e
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2025-01-27T14:27:40-08:00
Commit Message:
HOPKINS: Fix crash using elevator
Changed paths:
NEWS.md
common/path.h
diff --git a/NEWS.md b/NEWS.md
index c6c8c0032b7..35cf7253cf2 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,6 +1,11 @@
For a more comprehensive changelog of the latest experimental code, see:
https://github.com/scummvm/scummvm/commits/
+#### 2.9.1 (XXXX-XX-XX)
+
+ Hopkins:
+ - Fix crash using elevator to go to other floors.
+
#### 2.9.0 "Close Encounters of the 2.9th Kind" (2024-12-22)
New games:
diff --git a/common/path.h b/common/path.h
index 063ac58548e..0f17e0b18c1 100644
--- a/common/path.h
+++ b/common/path.h
@@ -114,7 +114,7 @@ private:
* @param separator The directory separator used in str
*/
static inline bool needsEncoding(const char *str, char separator) {
- return *str && // String is not empty and
+ return str && *str && // String is not empty and
(separator != SEPARATOR || // separator is not the one we use
*str == ESCAPE); // or string begins with ESCAPE
}
More information about the Scummvm-git-logs
mailing list