pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src/input key_helper.cxx,1.2,1.3


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/input key_helper.cxx,1.2,1.3
Date: 29 Oct 2002 12:49:29 -0000

Update of /usr/local/cvsroot/Games/Pingus/src/input
In directory dark:/tmp/cvs-serv557/src/input

Modified Files:
        key_helper.cxx 
Log Message:
little warning on incorrect keynames

Index: key_helper.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/input/key_helper.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- key_helper.cxx      9 Jul 2002 14:22:00 -0000       1.2
+++ key_helper.cxx      29 Oct 2002 12:49:27 -0000      1.3
@@ -17,6 +17,7 @@
 //  along with this program; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
+#include <iostream>
 #include <ClanLib/Display/Input/key.h>
 #include "key_helper.hxx"
 
@@ -235,6 +236,7 @@
   else if (key == "CL_NUM_KEYS") { return CL_NUM_KEYS; }
   else
     {
+      std::cout << "Key Name " << key << "not known" << std::endl;
       return CL_NO_KEY;
     }  
 }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]