mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 08:20:05 +00:00 
			
		
		
		
	fix: rfind to find for more consistent site parsing
This commit is contained in:
		
							parent
							
								
									efb54b123c
								
							
						
					
					
						commit
						e189abea4d
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -639,7 +639,7 @@ void SettingsDialogImpl::SetupGeneralTab() | |||
|       [](const std::string& text) -> std::string | ||||
|       { | ||||
|          // Find the position of location details
 | ||||
|          size_t pos = text.rfind(" ("); | ||||
|          size_t pos = text.find(" ("); | ||||
| 
 | ||||
|          if (pos == std::string::npos) | ||||
|          { | ||||
|  | @ -1060,7 +1060,7 @@ void SettingsDialogImpl::SetupAudioTab() | |||
|       [](const std::string& text) -> std::string | ||||
|       { | ||||
|          // Find the position of location details
 | ||||
|          size_t pos = text.rfind(" ("); | ||||
|          size_t pos = text.find(" ("); | ||||
| 
 | ||||
|          if (pos == std::string::npos) | ||||
|          { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Aaron Dunlap
						Aaron Dunlap