mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Fixed issue on LR parsing cutting the last character when Right String was empty.
This commit is contained in:
@@ -326,7 +326,7 @@ namespace RuriLib
|
||||
{
|
||||
pFrom = ls == "" ? 0 : partial.IndexOf(ls) + ls.Length;
|
||||
partial = partial.Substring(pFrom);
|
||||
pTo = rs == "" ? (partial.Length - 1) : partial.IndexOf(rs);
|
||||
pTo = rs == "" ? partial.Length : partial.IndexOf(rs);
|
||||
list.Add(partial.Substring(0, pTo));
|
||||
}
|
||||
catch { }
|
||||
|
||||
Reference in New Issue
Block a user