mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 12:40:06 +00:00 
			
		
		
		
	Escape '\r' in placefiles
This commit is contained in:
		
							parent
							
								
									a8cbfcebae
								
							
						
					
					
						commit
						cef16b2d5c
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -943,6 +943,7 @@ void Placefile::Impl::ParseLocation(const std::string& latitudeToken, | ||||||
| 
 | 
 | ||||||
| void Placefile::Impl::ProcessEscapeCharacters(std::string& s) | void Placefile::Impl::ProcessEscapeCharacters(std::string& s) | ||||||
| { | { | ||||||
|  |    boost::replace_all(s, "\\r", "\r"); | ||||||
|    boost::replace_all(s, "\\n", "\n"); |    boost::replace_all(s, "\\n", "\n"); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat