X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_gui.pas;h=67f3b8a6ebd8f5e4fbfb4e2893229b7db0e94afd;hb=75125c8752adeb3dc9e2ea3841b3b64dc23268ce;hp=98e49178a73e28dd3f39748abf9fd92d2843ecf0;hpb=987c4a835a103345b59937e8e1be8524a6228712;p=d2df-sdl.git 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;