[Scummvm-cvs-logs] SF.net SVN: scummvm:[42006] tools/branches/gsoc2009-gui/gui/pages.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Wed Jul 1 20:57:39 CEST 2009
Revision: 42006
http://scummvm.svn.sourceforge.net/scummvm/?rev=42006&view=rev
Author: fingolfin
Date: 2009-07-01 18:57:39 +0000 (Wed, 01 Jul 2009)
Log Message:
-----------
Fixed typo/bug ('=' instead of '==' in an if condition. Yay to compiling with -Werror and to GCC for reporting this ;)
Modified Paths:
--------------
tools/branches/gsoc2009-gui/gui/pages.cpp
Modified: tools/branches/gsoc2009-gui/gui/pages.cpp
===================================================================
--- tools/branches/gsoc2009-gui/gui/pages.cpp 2009-07-01 17:33:20 UTC (rev 42005)
+++ tools/branches/gsoc2009-gui/gui/pages.cpp 2009-07-01 18:57:39 UTC (rev 42006)
@@ -596,7 +596,7 @@
void ChooseAudioOptionsMp3Page::save(wxWindow *panel) {
wxRadioButton *abr = static_cast<wxRadioButton *>(panel->FindWindowByName(wxT("ABR")));
- wxRadioButton *vbr = static_cast<wxRadioButton *>(panel->FindWindowByName(wxT("VBR")));
+// wxRadioButton *vbr = static_cast<wxRadioButton *>(panel->FindWindowByName(wxT("VBR")));
wxChoice *vbrMinBitrate = static_cast<wxChoice *>(panel->FindWindowByName(wxT("MinimumBitrate")));
wxChoice *vbrMaxBitrate = static_cast<wxChoice *>(panel->FindWindowByName(wxT("MaximumBitrate")));
@@ -939,7 +939,7 @@
while(stream && stream->CanRead()) {
wxFileOffset off = stream->GetLength();
- if(off = wxInvalidOffset) {
+ if(off == wxInvalidOffset) {
return false;
}
char *buf = new char[(size_t)off];
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