DEADSOFTWARE

engine: game: hack-killed some warnings
[d2df-sdl.git] / src / game / g_gui.pas
index 98e49178a73e28dd3f39748abf9fd92d2843ecf0..67f3b8a6ebd8f5e4fbfb4e2893229b7db0e94afd 100644 (file)
@@ -1033,7 +1033,8 @@ end;
 function TGUIMainMenu.AddButton(fProc: Pointer; Caption: string; ShowWindow: string = ''): TGUITextButton;
 var
   a, _x: Integer;
-  h, hh, lh: Word;
+  h, hh: Word;
+  lh: Word = 0;
 begin
   FIndex := 0;