[Scummvm-git-logs] scummvm master -> a8d975f03273e931e57efe5b7d51751a238b6886

digitall dgturner at iee.org
Tue Jan 17 11:53:48 CET 2017


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:
a8d975f032 GRAPHICS: Fix Zero Length Format String Compiler Warnings.


Commit: a8d975f03273e931e57efe5b7d51751a238b6886
    https://github.com/scummvm/scummvm/commit/a8d975f03273e931e57efe5b7d51751a238b6886
Author: D G Turner (digitall at scummvm.org)
Date: 2017-01-17T11:00:18Z

Commit Message:
GRAPHICS: Fix Zero Length Format String Compiler Warnings.

Changed paths:
    graphics/fonts/macfont.cpp


diff --git a/graphics/fonts/macfont.cpp b/graphics/fonts/macfont.cpp
index 1b094c2..d3638fc 100644
--- a/graphics/fonts/macfont.cpp
+++ b/graphics/fonts/macfont.cpp
@@ -132,7 +132,7 @@ bool MacFont::loadFOND(Common::SeekableReadStream &stream) {
 		_ffProperty[i] = stream.readUint16BE();
 		debugN(10, "%d ", _ffProperty[i]);
 	}
-	debug(10, "");
+	debug(10, "%s", "");
 
 	_ffIntl[0]   = stream.readUint16BE(); // for international use
 	_ffIntl[1]   = stream.readUint16BE(); // for international use
@@ -162,7 +162,7 @@ bool MacFont::loadFOND(Common::SeekableReadStream &stream) {
 			_ffOffsets[i] = stream.readUint32BE();
 			debugN(10, "%d ", _ffOffsets[i]);
 		}
-		debug(10, "");
+		debug(10, "%s", "");
 
 		_ffNumBBoxes = stream.readUint16BE(); // number of entries - 1
 		_ffBBoxes.resize(_ffNumBBoxes + 1);





More information about the Scummvm-git-logs mailing list