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

sev- sev at scummvm.org
Mon Jun 9 21:49:11 CEST 2014


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:
bd63ee2c4e FULLPIPE: Fix compilation


Commit: bd63ee2c4e6b5352cd28fa06f73135f0c9c5eb96
    https://github.com/scummvm/scummvm/commit/bd63ee2c4e6b5352cd28fa06f73135f0c9c5eb96
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2014-06-09T22:48:34+03:00

Commit Message:
FULLPIPE: Fix compilation

Changed paths:
    engines/fullpipe/sound.cpp



diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp
index b7641d5..53ed52a 100644
--- a/engines/fullpipe/sound.cpp
+++ b/engines/fullpipe/sound.cpp
@@ -432,7 +432,7 @@ void FullpipeEngine::playTrack(GameVar *sceneVar, const char *name, bool delayed
 
 		while (sub) {
 			if (_musicAllowed & sub->_value.intValue) {
-				strcpy(_sceneTracks[_numSceneTracks], sub->_varName, 260);
+				strncpy(_sceneTracks[_numSceneTracks], sub->_varName, 260);
 
 				_numSceneTracks++;
 			}






More information about the Scummvm-git-logs mailing list