[Scummvm-cvs-logs] scummvm master -> c60394eb3f9dee1cfd6c23ed8e64231b666c650d

wjp wjp at usecode.org
Mon Jan 16 16:08:24 CET 2012


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:
c60394eb3f SCI: Remove outdated comment


Commit: c60394eb3f9dee1cfd6c23ed8e64231b666c650d
    https://github.com/scummvm/scummvm/commit/c60394eb3f9dee1cfd6c23ed8e64231b666c650d
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2012-01-16T07:07:48-08:00

Commit Message:
SCI: Remove outdated comment

Changed paths:
    engines/sci/engine/kstring.cpp



diff --git a/engines/sci/engine/kstring.cpp b/engines/sci/engine/kstring.cpp
index 089ba0e..a1cd571 100644
--- a/engines/sci/engine/kstring.cpp
+++ b/engines/sci/engine/kstring.cpp
@@ -747,8 +747,6 @@ reg_t kString(EngineState *s, int argc, reg_t *argv) {
 	case 8: { // Dup
 		reg_t stringHandle;
 
-		// We allocate the new string first because if the StringTable needs to
-		// grow, our rawString pointer will be invalidated
 		SciString *dupString = s->_segMan->allocateString(&stringHandle);
 
 		if (argv[1].segment == s->_segMan->getStringSegmentId()) {






More information about the Scummvm-git-logs mailing list