# HG changeset patch # User koda # Date 1373201108 -7200 # Node ID 492a0ad67e33fb1fd536ecdafb16157b244b486f # Parent a04c30940d2da63525e002f7b3f3f1b43b0730da allow to send chat messages with numpad enter key too (regression?) diff -r a04c30940d2d -r 492a0ad67e33 hedgewars/SDLh.pas --- a/hedgewars/SDLh.pas Sat Jul 06 19:29:18 2013 +0200 +++ b/hedgewars/SDLh.pas Sun Jul 07 14:45:08 2013 +0200 @@ -308,6 +308,7 @@ SDLK_q = 113; SDLK_w = 119; SDLK_DELETE = 127; + SDLK_KP_ENTER = 271; SDLK_UP = 273; SDLK_DOWN = 274; SDLK_RIGHT = 275; diff -r a04c30940d2d -r 492a0ad67e33 hedgewars/uChat.pas --- a/hedgewars/uChat.pas Sat Jul 06 19:29:18 2013 +0200 +++ b/hedgewars/uChat.pas Sun Jul 07 14:45:08 2013 +0200 @@ -327,7 +327,7 @@ SetLine(InputStr, '', true) else CleanupInput end; - SDLK_RETURN: + SDLK_RETURN, SDLK_KP_ENTER: begin if Length(InputStr.s) > 0 then begin