Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Commit d3a9d0d

Browse files
committed
Fix one character too many being trimmed
1 parent af5e848 commit d3a9d0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

structs.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ MACRO dstruct ; struct_type, instance_name[, ...]
316316
IF def(WAS_NAMED_INSTANTIATION)
317317
; Remove the parentheses that named instantiation placed around the field initializer.
318318
; This is necessary so that strings are correctly interpreted.
319-
redef FIELD_INITIALIZER EQUS STRSLICE("{FIELD_INITIALIZER}", 1, -2)
319+
redef FIELD_INITIALIZER EQUS STRSLICE("{FIELD_INITIALIZER}", 1, -1)
320320
ENDC
321321
d{{STRUCT_FIELD_TYPE}} {FIELD_INITIALIZER}
322322
purge FIELD_INITIALIZER

0 commit comments

Comments
 (0)