Skip to content

Commit 86ef345

Browse files
committed
fbc: internal - wrong parameter used in CALC_LEN define
1 parent 8539e1d commit 86ef345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/dstr.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ declare sub hRealloc _
4949
#endmacro
5050

5151
'':::::
52-
#define CALC_LEN( p ) iif( p <> NULL, len( *src ), 0 )
52+
#define CALC_LEN( p ) iif( p <> NULL, len( *p ), 0 )
5353

5454
''::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
5555
'' dynamic zstrings

0 commit comments

Comments
 (0)