]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/keys.cpp
Drop Id tags and copyright notices from files
[libs/gui.git] / source / input / keys.cpp
index 15f729abe16652ea0f5304e540e9d39333791f76..37a376aaa6c662eb391aaa4704148f5adcb8e8dd 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgbase
-Copyright © 2008, 2010 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #include <map>
 #ifdef WIN32
 #include <windows.h>
@@ -148,7 +141,7 @@ unsigned key_to_sys(unsigned key)
 
 unsigned mod_from_sys(unsigned mod)
 {
-       unsigned result;
+       unsigned result = 0;
        for(unsigned i=0; i<N_MODS_; ++i)
                if(mod&modmap[i])
                        result|=1<<i;