]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/parser.cpp
Merge remote-tracking branch 'origin/master' into ticket
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / parser.cpp
index b984adf63e62758295d728126522ce7b99bbdfa1..0371798197d287aaf4d8e5f778b0efdbcf4e1944 100644 (file)
@@ -35,7 +35,7 @@ int BASE_PARSER::Start(void *, const char * el, const char **)
 //-----------------------------------------------------------------------------
 int BASE_PARSER::End(void *, const char * el)
 {
-    if (m_depth == 1)
+    if (m_depth < 2)
     {
         if (strcasecmp(el, m_tag.c_str()) != 0)
             return -1;