mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 17:19:28 +01:00
Use @unknownbrackets fix
This commit is contained in:
1 parent
86b7797985
commit
db29bc50cf
1 file changed
+2
-6
+2
-6
@@ -40,13 +40,9 @@ static bool ParseLine(const std::string& line, std::string* keyOut, std::string*
|
||||
FirstCommentChar = 0;
|
||||
|
||||
// Allow preservation of spacing before comment
|
||||
if (FirstCommentChar > 0)
|
||||
while (FirstCommentChar > 0 && line[FirstCommentChar - 1] <= ' ')
|
||||
{
|
||||
while (line[FirstCommentChar - 1] == ' ' || line[FirstCommentChar - 1] == 9) // 9 == tab
|
||||
{
|
||||
FirstCommentChar--;
|
||||
if (FirstCommentChar <= 0) break;
|
||||
}
|
||||
FirstCommentChar--;
|
||||
}
|
||||
|
||||
if ((FirstEquals >= 0) && ((FirstCommentChar < 0) || (FirstEquals < FirstCommentChar)))
|
||||
|
||||
Reference in new issue
Block a user