X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_gui.pas;h=67f3b8a6ebd8f5e4fbfb4e2893229b7db0e94afd;hb=a50544067b99f65e2b4882366521287607dd892f;hp=6043a37e671b9e4f0547f90a7fc4c5db6a2883f5;hpb=9bd1a9d2c5229e80d1ebf7d69a67f2642a50c78d;p=d2df-sdl.git diff --git a/src/game/g_gui.pas b/src/game/g_gui.pas index 6043a37..67f3b8a 100644 --- a/src/game/g_gui.pas +++ b/src/game/g_gui.pas @@ -2,8 +2,7 @@ * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * the Free Software Foundation, version 3 of the License ONLY. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -1034,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;