[Scummvm-cvs-logs] SF.net SVN: scummvm:[39895] scummvm/trunk/engines/sci/scicore/vocab_debug. cpp

waltervn at users.sourceforge.net waltervn at users.sourceforge.net
Tue Apr 7 19:43:50 CEST 2009


Revision: 39895
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39895&view=rev
Author:   waltervn
Date:     2009-04-07 17:43:49 +0000 (Tue, 07 Apr 2009)

Log Message:
-----------
SCI: Do not skip last entry in kernel table for SCI1.

Modified Paths:
--------------
    scummvm/trunk/engines/sci/scicore/vocab_debug.cpp

Modified: scummvm/trunk/engines/sci/scicore/vocab_debug.cpp
===================================================================
--- scummvm/trunk/engines/sci/scicore/vocab_debug.cpp	2009-04-07 17:26:42 UTC (rev 39894)
+++ scummvm/trunk/engines/sci/scicore/vocab_debug.cpp	2009-04-07 17:43:49 UTC (rev 39895)
@@ -481,7 +481,7 @@
 	// a safe change. If there's any SCI1 game with different kernel vocabulary names, we can
 	// add special flags to it to our detector
 	t = (char **)sci_malloc((SCI1_KNAMES_DEFAULT_ENTRIES_NR + 1) * sizeof(char*));
-	*count = SCI1_KNAMES_DEFAULT_ENTRIES_NR - 1; // index of last element
+	*count = SCI1_KNAMES_DEFAULT_ENTRIES_NR;
 
 	for (int i = 0; i < SCI1_KNAMES_DEFAULT_ENTRIES_NR; i++)
 		t[i] = sci_strdup(sci1_default_knames[i]);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list