X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_gui.pas;h=67f3b8a6ebd8f5e4fbfb4e2893229b7db0e94afd;hp=98e49178a73e28dd3f39748abf9fd92d2843ecf0;hb=1e8d8649f9fa70dd54b628bee55772e2f4b934a0;hpb=2d289acb4cb4cef37b53ecf37b79f5331e5b9dec diff --git a/src/game/g_gui.pas b/src/game/g_gui.pas index 98e4917..67f3b8a 100644 --- a/src/game/g_gui.pas +++ b/src/game/g_gui.pas @@ -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;