[Scummvm-git-logs] scummvm master -> 1cb608ef54d8929d34c64c98092a271014dbdf38

antoniou79 a.antoniou79 at gmail.com
Thu Feb 20 01:59:54 UTC 2020


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:
1cb608ef54 SWORD1: Fix blank in-game control panel menu


Commit: 1cb608ef54d8929d34c64c98092a271014dbdf38
    https://github.com/scummvm/scummvm/commit/1cb608ef54d8929d34c64c98092a271014dbdf38
Author: Thanasis Antoniou (a.antoniou79 at gmail.com)
Date: 2020-02-20T03:58:30+02:00

Commit Message:
SWORD1: Fix blank in-game control panel menu

Changed paths:
    engines/sword1/control.cpp


diff --git a/engines/sword1/control.cpp b/engines/sword1/control.cpp
index 6204141..43b2f13 100644
--- a/engines/sword1/control.cpp
+++ b/engines/sword1/control.cpp
@@ -1459,9 +1459,9 @@ bool Control::loadCustomStrings(const char *filename) {
 			memset((void*)_customStrings[lineNo], 0, 43);
 			strncpy((char*)_customStrings[lineNo], line.c_str(), 42);
 		}
+		return true;
 	}
-
-	return true;
+	return false;
 }
 
 const uint8 Control::_languageStrings[8 * 20][43] = {




More information about the Scummvm-git-logs mailing list