hedgewars/uMisc.pas
changeset 6992 b8f3d8991e92
parent 6990 40e5af28d026
child 7043 7c080e5ac8d0
--- a/hedgewars/uMisc.pas	Wed May 02 12:24:44 2012 +0200
+++ b/hedgewars/uMisc.pas	Wed May 02 11:43:43 2012 +0100
@@ -31,9 +31,9 @@
 function  MakeScreenshot(filename: shortstring): boolean;
 function  GetTeamStatString(p: PTeam): shortstring;
 {$IFDEF SDL13}
-function SDL_RectMake(x, y, width, height: LongInt): TSDL_Rect;
+function  SDL_RectMake(x, y, width, height: LongInt): TSDL_Rect; inline;
 {$ELSE}
-function SDL_RectMake(x, y: SmallInt; width, height: Word): TSDL_Rect;
+function  SDL_RectMake(x, y: SmallInt; width, height: Word): TSDL_Rect; inline;
 {$ENDIF}
 
 implementation
@@ -250,9 +250,9 @@
 end;
 
 {$IFDEF SDL13}
-function SDL_RectMake(x, y, width, height: LongInt): TSDL_Rect;
+function SDL_RectMake(x, y, width, height: LongInt): TSDL_Rect; inline;
 {$ELSE}
-function SDL_RectMake(x, y: SmallInt; width, height: Word): TSDL_Rect;
+function SDL_RectMake(x, y: SmallInt; width, height: Word): TSDL_Rect; inline;
 {$ENDIF}
 begin
     SDL_RectMake.x:= x;