[Scummvm-git-logs] scummvm master -> 3759b4af1dc317e17938bcff56c4d0072b26b7c7
eriktorbjorn
eriktorbjorn at telia.com
Thu Feb 21 18:23:54 CET 2019
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:
3759b4af1d GLK: FROTZ: Initialize _quotes, _dashes and _spaces to 0
Commit: 3759b4af1dc317e17938bcff56c4d0072b26b7c7
https://github.com/scummvm/scummvm/commit/3759b4af1dc317e17938bcff56c4d0072b26b7c7
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2019-02-21T18:22:28+01:00
Commit Message:
GLK: FROTZ: Initialize _quotes, _dashes and _spaces to 0
They're int, not bool, so using 'false' seems wrong to me.
Changed paths:
engines/glk/frotz/screen.cpp
diff --git a/engines/glk/frotz/screen.cpp b/engines/glk/frotz/screen.cpp
index b1f28e4..3ac697c 100644
--- a/engines/glk/frotz/screen.cpp
+++ b/engines/glk/frotz/screen.cpp
@@ -59,9 +59,9 @@ void FrotzScreen::loadVersion6Fonts(Common::Archive *archive) {
PropFontInfo &pi = g_conf->_propInfo;
mi._size = pi._size = 7;
mi._aspect = pi._aspect = 1.0;
- pi._quotes = false;
- pi._dashes = false;
- pi._spaces = false;
+ pi._quotes = 0;
+ pi._dashes = 0;
+ pi._spaces = 0;
pi._morePrompt = "[MORE]";
pi._lineSeparation = 0;
More information about the Scummvm-git-logs
mailing list