[Scummvm-cvs-logs] scummvm master -> 1f228387656ff9a9dcdd6374a374c9d7a49284cf

lordhoto lordhoto at gmail.com
Sat Sep 8 01:28:03 CEST 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:
1f22838765 TONY: Constify static data tables in custom.cpp.


Commit: 1f228387656ff9a9dcdd6374a374c9d7a49284cf
    https://github.com/scummvm/scummvm/commit/1f228387656ff9a9dcdd6374a374c9d7a49284cf
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2012-09-07T16:27:11-07:00

Commit Message:
TONY: Constify static data tables in custom.cpp.

Changed paths:
    engines/tony/custom.cpp



diff --git a/engines/tony/custom.cpp b/engines/tony/custom.cpp
index 516e55b..99debbf 100644
--- a/engines/tony/custom.cpp
+++ b/engines/tony/custom.cpp
@@ -41,7 +41,7 @@
 
 namespace Tony {
 
-static const char *kAmbianceFile[] =  {
+static const char *const kAmbianceFile[] =  {
 	"None",
 	"1.ADP",    // Grilli.WAV
 	"2.ADP",    // Grilli-Ovattati.WAV
@@ -71,7 +71,7 @@ static const MusicFileEntry kMusicFiles[] =  {
 };
 
 
-static const char *kJingleFileNames[] = {
+static const char *const kJingleFileNames[] = {
 	"S00.ADP", "S01.ADP", "S02.ADP", "S03.ADP", "S04.ADP", 
 	"S05.ADP", "S06.ADP", "S07.ADP", "S08.ADP", "S09.ADP", 
 	"S10.ADP", "S11.ADP", "S12.ADP", "S13.ADP", "S14.ADP", 






More information about the Scummvm-git-logs mailing list