mirror of
				https://github.com/Laupetin/OpenAssetTools.git
				synced 2025-10-30 18:17:15 +00:00 
			
		
		
		
	Fix localized string parser not handling value escaping properly
This commit is contained in:
		| @@ -20,7 +20,7 @@ std::string SequenceLocalizeFileLanguageValue::UnescapeValue(const std::string& | ||||
|     std::ostringstream str; | ||||
|  | ||||
|     auto isEscaped = false; | ||||
|     for(auto c : value) | ||||
|     for(const auto c : value) | ||||
|     { | ||||
|         if(isEscaped) | ||||
|         { | ||||
| @@ -38,6 +38,7 @@ std::string SequenceLocalizeFileLanguageValue::UnescapeValue(const std::string& | ||||
|                 str << c; | ||||
|                 break; | ||||
|             } | ||||
|             isEscaped = false; | ||||
|         } | ||||
|         else if(c == '\\') | ||||
|         { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user