Index: orxonox/trunk/src/lib/gui/gui_keys.cc
===================================================================
--- orxonox/trunk/src/lib/gui/gui_keys.cc	(revision 5016)
+++ orxonox/trunk/src/lib/gui/gui_keys.cc	(revision 5020)
@@ -1,3 +1,3 @@
-/* 
+/*
    orxonox - the future of 3D-vertical-scrollers
 
@@ -16,5 +16,5 @@
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software Foundation,
-   Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  
+   Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 
@@ -38,5 +38,5 @@
   {
     Box* keysBox0;          //!< The Frame that holds the keyOptions.
-    
+
     //  keysFrame->setGroupName("Keyboard");
     keysBox0 = new Box('v');
@@ -47,12 +47,12 @@
       keysBox1 = new Box('h');
       {
-	PlayerKeys* player1;       //!< The first Player's keys.
-	PlayerKeys* player2;       //!< The seconds Player's keys.
-	
-	player1 = new PlayerKeys(CONFIG_SECTION_PLAYER "1");
-	player2 = new PlayerKeys(CONFIG_SECTION_PLAYER "2");
-	
-	keysBox1->fill(player1->getOpenButton());
-	keysBox1->fill(player2->getOpenButton());
+        PlayerKeys* player1;       //!< The first Player's keys.
+        PlayerKeys* player2;       //!< The seconds Player's keys.
+
+        player1 = new PlayerKeys(CONFIG_SECTION_PLAYER "1");
+        player2 = new PlayerKeys(CONFIG_SECTION_PLAYER "2");
+
+        keysBox1->fill(player1->getOpenButton());
+        keysBox1->fill(player2->getOpenButton());
       }
       keysBox0->fill(keysBox1);
@@ -63,5 +63,5 @@
     keysFrame->fill(keysBox0);
   }
-  
+
   // setting up the Input Windows that receives keystrokes.
   this->inputWindow = new Window("inputWindow");
@@ -72,5 +72,5 @@
 #endif /* HAVE_GTK2 */
   this->inputWindow->fill(inputButton);
-  
+
   this->setMainWidget(keysFrame);
 }
@@ -112,20 +112,20 @@
       pKeysBox = new Box('v');
       {
-	Button* closeButton;    //!< The CloseButton for this key-settings.
-
-	pKeysBox->setGroupName(player);
-	pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_UP, "UP"));
-	pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_DOWN, "DOWN"));
-	pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_LEFT, "LEFT"));
-	pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_RIGHT, "RIGHT"));
-	pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_FIRE, "SPACE"));
-	pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_NEXT_WEAPON, "m"));
-	pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_PREV_WEAPON, "n"));
-	closeButton = new Button("close");
-#ifdef HAVE_GTK2
-	closeButton->connectSignal("button_press_event", pKeyWindow, Window::windowClose);
-#endif /* HAVE_GTK2 */
-
-	pKeysBox->fill(closeButton);
+        Button* closeButton;    //!< The CloseButton for this key-settings.
+
+        pKeysBox->setGroupName(player);
+        pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_UP, "UP"));
+        pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_DOWN, "DOWN"));
+        pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_LEFT, "LEFT"));
+        pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_RIGHT, "RIGHT"));
+        pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_FIRE, "SPACE"));
+        pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_NEXT_WEAPON, "m"));
+        pKeysBox->fill(addKey(CONFIG_NAME_PLAYER_PREV_WEAPON, "n"));
+        closeButton = new Button("close");
+#ifdef HAVE_GTK2
+        closeButton->connectSignal("button_press_event", pKeyWindow, Window::windowClose);
+#endif /* HAVE_GTK2 */
+
+        pKeysBox->fill(closeButton);
       }
       pKeyFrame->fill(pKeysBox);
@@ -139,5 +139,5 @@
   pKeyWindow->connectSignal("delete_event", pKeyWindow, Window::windowClose);
 #endif /* HAVE_GTK2 */
-  
+
   this->openButton = new Button(player);
 #ifdef HAVE_GTK2
@@ -174,24 +174,24 @@
       keysBox = new Box('v');
       {
-	Button* closeButton;    //!< The CloseButton for this key-settings.
-
-	keysBox->setGroupName(CONFIG_SECTION_MISC_KEYS);
-	keysBox->fill(addKey(CONFIG_NAME_QUIT , "ESCAPE"));
-	keysBox->fill(addKey(CONFIG_NAME_PAUSE, "PAUSE"));
-	keysBox->fill(addKey(CONFIG_NAME_NEXT_WORLD, "x"));
-	keysBox->fill(addKey(CONFIG_NAME_PREV_WORLD, "z"));
-	keysBox->fill(addKey(CONFIG_NAME_VIEW0, "1"));
-	keysBox->fill(addKey(CONFIG_NAME_VIEW1, "2"));
-	keysBox->fill(addKey(CONFIG_NAME_VIEW2, "3"));
-	keysBox->fill(addKey(CONFIG_NAME_VIEW3, "4"));
-	keysBox->fill(addKey(CONFIG_NAME_VIEW4, "5"));
-	keysBox->fill(addKey(CONFIG_NAME_VIEW5, "6"));
-
-	closeButton = new Button("close");
-#ifdef HAVE_GTK2
-	closeButton->connectSignal("button_press_event", keyWindow, Window::windowClose);
-#endif /* HAVE_GTK2 */
-
-	keysBox->fill(closeButton);
+        Button* closeButton;    //!< The CloseButton for this key-settings.
+
+        keysBox->setGroupName(CONFIG_SECTION_MISC_KEYS);
+        keysBox->fill(addKey(CONFIG_NAME_QUIT , "ESCAPE"));
+        keysBox->fill(addKey(CONFIG_NAME_PAUSE, "PAUSE"));
+        keysBox->fill(addKey(CONFIG_NAME_NEXT_WORLD, "x"));
+        keysBox->fill(addKey(CONFIG_NAME_PREV_WORLD, "z"));
+        keysBox->fill(addKey(CONFIG_NAME_VIEW0, "1"));
+        keysBox->fill(addKey(CONFIG_NAME_VIEW1, "2"));
+        keysBox->fill(addKey(CONFIG_NAME_VIEW2, "3"));
+        keysBox->fill(addKey(CONFIG_NAME_VIEW3, "4"));
+        keysBox->fill(addKey(CONFIG_NAME_VIEW4, "5"));
+        keysBox->fill(addKey(CONFIG_NAME_VIEW5, "6"));
+
+        closeButton = new Button("close");
+#ifdef HAVE_GTK2
+        closeButton->connectSignal("button_press_event", keyWindow, Window::windowClose);
+#endif /* HAVE_GTK2 */
+
+        keysBox->fill(closeButton);
       }
       keyFrame->fill(keysBox);
@@ -204,5 +204,5 @@
   keyWindow->connectSignal("delete_event", keyWindow, Window::windowClose);
 #endif /* HAVE_GTK2 */
-  
+
   this->openButton = new Button("misc");
 #ifdef HAVE_GTK2
@@ -254,5 +254,5 @@
   GuiKeys::inputWindow->open();
 }
-  
+
 /**
  *  Function which gets keystrokes
@@ -281,13 +281,13 @@
       strcpy(title, "RIGHT");
       break;
-      
+
     case GDK_space:
       strcpy(title, "SPACE");
       break;
-      
+
     case GDK_Return:
       strcpy(title, "RETURN");
       break;
-      
+
       // Special Keys //
     case GDK_BackSpace:
@@ -361,5 +361,5 @@
       strcpy(title, "INSERT");
       break;
-      
+
     case GDK_Escape:
       strcpy(title, "ESCAPE");
@@ -423,6 +423,6 @@
       strcpy(title, "F12");
       break;
-      
-      
+
+
     default:
       char* tmp;
