diff --git a/SRC/Aura_OS/System/Parser/NanoXMLParser.cs b/SRC/Aura_OS/System/Parser/NanoXMLParser.cs index c3e0b7a6..523cd9df 100644 --- a/SRC/Aura_OS/System/Parser/NanoXMLParser.cs +++ b/SRC/Aura_OS/System/Parser/NanoXMLParser.cs @@ -15,24 +15,19 @@ protected static bool IsSpace(char c) protected static void SkipSpaces(string str, ref int i) { - while (i < str.Length) - { - if (!IsSpace(str[i])) + for(; i < str.Length; i++) + { + if(!IsSpace(str[i]) && str.Length < i + 4 && str.Substring(i, i + 4).Equals("