[Scummvm-cvs-logs] SF.net SVN: scummvm: [23210] scummvm/trunk/gui/editable.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Wed Jun 21 02:19:00 CEST 2006


Revision: 23210
Author:   eriktorbjorn
Date:     2006-06-20 17:18:56 -0700 (Tue, 20 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23210&view=rev

Log Message:
-----------
Fixed warning.

Modified Paths:
--------------
    scummvm/trunk/gui/editable.cpp
Modified: scummvm/trunk/gui/editable.cpp
===================================================================
--- scummvm/trunk/gui/editable.cpp	2006-06-20 22:52:01 UTC (rev 23209)
+++ scummvm/trunk/gui/editable.cpp	2006-06-21 00:18:56 UTC (rev 23210)
@@ -62,7 +62,7 @@
 }
 
 bool EditableWidget::tryInsertChar(byte c, int pos) {
-	if ((c >= 32 && c <= 127) || (c >= 160 && c <= 255)) {
+	if ((c >= 32 && c <= 127) || c >= 160) {
 		_editString.insertChar(c, pos);
 		return true;
 	}


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