mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Remove empty strings from button_text before adding buttons
This commit is contained in:
		
							parent
							
								
									c4ba7b3626
								
							
						
					
					
						commit
						1255d94baa
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -201,7 +201,8 @@ Frontend::KeyboardConfig SoftwareKeyboard::ToFrontendConfig( | |||
|                      }); | ||||
|     if (frontend_config.has_custom_button_text) { | ||||
|         for (const auto& text : config.button_text) { | ||||
|             frontend_config.button_text.push_back(Common::UTF16BufferToUTF8(text)); | ||||
|             if (text.front() != 0) | ||||
|                 frontend_config.button_text.push_back(Common::UTF16BufferToUTF8(text)); | ||||
|         } | ||||
|     } | ||||
|     frontend_config.filters.prevent_digit = | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue