[Scummvm-cvs-logs] SF.net SVN: scummvm: [26924] scummvm/trunk/engines/agos/saveload.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Tue May 22 18:11:30 CEST 2007
Revision: 26924
http://scummvm.svn.sourceforge.net/scummvm/?rev=26924&view=rev
Author: eriktorbjorn
Date: 2007-05-22 09:11:30 -0700 (Tue, 22 May 2007)
Log Message:
-----------
Silenced a rather paranoid GCC warning.
Modified Paths:
--------------
scummvm/trunk/engines/agos/saveload.cpp
Modified: scummvm/trunk/engines/agos/saveload.cpp
===================================================================
--- scummvm/trunk/engines/agos/saveload.cpp 2007-05-22 14:18:46 UTC (rev 26923)
+++ scummvm/trunk/engines/agos/saveload.cpp 2007-05-22 16:11:30 UTC (rev 26924)
@@ -166,7 +166,7 @@
window->textColumn = 0;
window->textColumnOffset = 4;
window->textLength = 0;
- if (in = _saveFileMan->openForLoading(genSaveName(slot++))) {
+ if ((in = _saveFileMan->openForLoading(genSaveName(slot++)))) {
in->read(dst, 8);
delete in;
@@ -181,7 +181,7 @@
window->textColumn = 7;
window->textColumnOffset = 4;
window->textLength = 0;
- if (in = _saveFileMan->openForLoading(genSaveName(slot++))) {
+ if ((in = _saveFileMan->openForLoading(genSaveName(slot++)))) {
in->read(dst, 8);
delete in;
@@ -196,7 +196,7 @@
window->textColumn = 15;
window->textColumnOffset = 4;
window->textLength = 0;
- if (in = _saveFileMan->openForLoading(genSaveName(slot++))) {
+ if ((in = _saveFileMan->openForLoading(genSaveName(slot++)))) {
in->read(dst, 8);
delete in;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list