Skip to content

Commit 47e4e5f

Browse files
Merge pull request #4 from Ripjetski6502/dev
Dev
2 parents eca191d + c44e835 commit 47e4e5f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bin/fullappdemo.xex

18 Bytes
Binary file not shown.

src/a8defines.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ interface
1414

1515
const
1616
// Version
17-
LIB_VERSION = '1.1.1';
17+
LIB_VERSION = '1.1.2';
1818

1919
// Window Record and Memory Alloc
2020
WRECSZ = 10;

src/a8libgadg.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ function GCombo(bN, x, y, bE, bI, bS: Byte; pS: TStringArray): Byte;
584584
bC := bI;
585585

586586
// calculate lenght of longeest string in pS
587-
for i := 0 to Length(pS) - 1 do
587+
for i := 0 to bS - 1 do
588588
begin
589589
bA:= Length(pS[i]);
590590
if bA > bL then bL:= bA;
@@ -649,7 +649,7 @@ function GCombo(bN, x, y, bE, bI, bS: Byte; pS: TStringArray): Byte;
649649
if not bM then
650650
begin
651651
// calculating position based on parent window
652-
bZ:=WOpen(baW.bX[bN] + x - 1, baW.bY[bN] + y + 1, 5, 10, WOFF);
652+
bZ:=WOpen(baW.bX[bN] + x - 1, baW.bY[bN] + y + 1, bL + 2, bS + 2, WOFF);
653653

654654
bC:=MenuV(bZ, 1, 1, WON, bC, bS, pS);
655655
WClose(bZ);

0 commit comments

Comments
 (0)