Issue Bug Closed

#40565Using listNum in GifBuilder returns empty string

Michael Stucki 09/03/12, 18:39 updated 10/02/18, 12:16

Description

When using listNum in a GifBuilder TEXT object and listNum is > 1, the result is an empty string.
The problem is that the stdWrap for the TEXT object is parsed twice, whereas the input string is overwritten after the first run.

How to reproduce:

10 = IMAGE
10.file = GIFBUILDER
10.file {
  10 = TEXT
  10.text = A/B/C
  10.text.listNum = 2
  10.text.listNum.splitChar = /
}

After one run, 10.10.text will be “B” which leads to an empty result after the split.

The solution is to delete the stdWrap properties after the 1st run.

Reviews 3