[Scummvm-cvs-logs] scummvm master -> 825c889e33d2c68dec65e6496c69d5d4a89cba51

athrxx athrxx at scummvm.org
Fri Jun 17 20:38:59 CEST 2011


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:
825c889e33 GUI: fix uninitialized var


Commit: 825c889e33d2c68dec65e6496c69d5d4a89cba51
    https://github.com/scummvm/scummvm/commit/825c889e33d2c68dec65e6496c69d5d4a89cba51
Author: athrxx (athrxx at scummvm.org)
Date: 2011-06-17T11:33:40-07:00

Commit Message:
GUI: fix uninitialized var

(caused rendering glitches when compiling with MSVC)

Changed paths:
    gui/ThemeParser.cpp



diff --git a/gui/ThemeParser.cpp b/gui/ThemeParser.cpp
index 55a76e8..db45b5a 100644
--- a/gui/ThemeParser.cpp
+++ b/gui/ThemeParser.cpp
@@ -670,7 +670,7 @@ bool ThemeParser::parserCallback_import(ParserNode *node) {
 
 bool ThemeParser::parserCallback_layout(ParserNode *node) {
 	int spacing = -1;
-	bool center;
+	bool center = false;
 
 	if (node->values.contains("spacing")) {
 		if (!parseIntegerKey(node->values["spacing"], 1, &spacing))






More information about the Scummvm-git-logs mailing list