summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/config.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/config.cpp b/library/config.cpp
index 8b60f60..0bfb476 100644
--- a/library/config.cpp
+++ b/library/config.cpp
@@ -526,5 +526,7 @@ void Config::read()
// not the best solution, find something else later
- if ( f.size() > 100000 ) {
+ if ( f.getch()!='[' ||f.size() > 100000 ) {
+ git = groups.end();
return;
}
+ f.ungetch('[');