Skip to content

Commit 5c5f6c1

Browse files
committed
* sd/RexCat.sd: fixed a CloseCatalog call at the wrong position. This closes #8.
1 parent 7184ba9 commit 5c5f6c1

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
FlexCat Open Source - Changelog
33
-------------------------------
44

5+
2019-02-13 Thore B�ckelmann <[email protected]>
6+
7+
* sd/RexCat.sd: fixed a CloseCatalog call at the wrong position. This closes
8+
#8.
9+
510
2017-01-27 Thore B�ckelmann <[email protected]>
611

712
* createcatsrc.c, scancd.c, scanct.c, scanpo.c: added some explicit

src/sd/RexCat.sd

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,10 @@ gettlstext: PROCEDURE EXPOSE tlstext.
3131

3232
cat = OPENCATALOG("%b.catalog","%l",%v)
3333
IF cat = 0 THEN DO
34-
CALL CLOSECATALOG(cat)
3534
RETURN 0
3635
END
3736

38-
tlstext.%i=GETCATALOGSTR(cat,%d,"")
37+
tlstext.%i=GETCATALOGSTR(cat,%d,"")
38+
CALL CLOSECATALOG(cat)
3939

4040
RETURN 1
41-

0 commit comments

Comments
 (0)