binding typo
authorkoda
Sun, 20 Dec 2009 20:08:17 +0000
changeset 2667 d9201436c6cf
parent 2666 2b8c8f16421e
child 2668 d3a85891ae39
binding typo
hedgewars/SDLh.pas
hedgewars/hwengine.pas
--- a/hedgewars/SDLh.pas	Sat Dec 19 19:37:30 2009 +0000
+++ b/hedgewars/SDLh.pas	Sun Dec 20 20:08:17 2009 +0000
@@ -101,7 +101,7 @@
 	SDL_INIT_EVERYTHING  = $0000FFFF;
 
 	SDL_APPINPUTFOCUS    = 2;
-	SDL_BUTTON_WHEELDUP  = 4;
+	SDL_BUTTON_WHEELUP   = 4;
 	SDL_BUTTON_WHEELDOWN = 5;
 		
 {*begin SDL_Event binding*}
--- a/hedgewars/hwengine.pas	Sat Dec 19 19:37:30 2009 +0000
+++ b/hedgewars/hwengine.pas	Sun Dec 20 20:08:17 2009 +0000
@@ -341,7 +341,7 @@
                 end;*)
 {$ELSE}
 		SDL_MOUSEBUTTONDOWN: if event.button.button = SDL_BUTTON_WHEELDOWN then uKeys.wheelDown:= true;
-		SDL_MOUSEBUTTONUP: if event.button.button = SDL_BUTTON_WHEELDUP then uKeys.wheelUp:= true;
+		SDL_MOUSEBUTTONUP: if event.button.button = SDL_BUTTON_WHEELUP then uKeys.wheelUp:= true;
 		SDL_JOYAXISMOTION: ControllerAxisEvent(event.jaxis.which, event.jaxis.axis, event.jaxis.value);
 		SDL_JOYHATMOTION: ControllerHatEvent(event.jhat.which, event.jhat.hat, event.jhat.value);
 		SDL_JOYBUTTONDOWN: ControllerButtonEvent(event.jbutton.which, event.jbutton.button, true);
@@ -627,7 +627,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 
 begin
-WriteLnToConsole('Hedgewars ' + cVersionString + ' engine (' + inttostr(cNetProtoVersion) + ')');
+WriteLnToConsole('Hedgewars ' + cVersionString + ' engine (network protocol: ' + inttostr(cNetProtoVersion) + ')');
 GetParams;
 // FIXME -  hack in font with support for CJK
 if (cLocaleFName = 'zh_CN.txt') or (cLocaleFName = 'zh_TW.txt') or (cLocaleFName = 'ja.txt') then