We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05f465c commit 2252f09Copy full SHA for 2252f09
1 file changed
fancy_demo/fancy.asc
@@ -261,7 +261,7 @@ int _get_tag_data(String tag, TagType tag_type)
261
int p = tag.IndexOf(":") + 1;
262
if (p == 0) return -1;
263
String data = tag.Substring(p, tag.Length-p);
264
- if (data.Chars[0] >= '0' && data.Chars[0] <= '9') return data.AsInt;
+ if (data.Chars[0] >= '0' && data.Chars[0] <= '9' || data.Chars[0]== '-') return data.AsInt;
265
if (_tvdict.Contains(data)) {
266
String sval = _tvdict.Get(data);
267
return sval.AsInt;
0 commit comments