forked from eden-emu/eden
		
	Fix bitmask logic inversion
This commit is contained in:
		
							parent
							
								
									2ed896075e
								
							
						
					
					
						commit
						016f2eab73
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -344,8 +344,7 @@ ResultVal<u8> IApplicationManagerInterface::GetApplicationDesiredLanguage( | |||
|     // Try to find a valid language.
 | ||||
|     for (const auto lang : *priority_list) { | ||||
|         const auto supported_flag = GetSupportedLanguageFlag(lang); | ||||
|         if (supported_languages == 0 || | ||||
|             (supported_languages & supported_flag) == supported_languages) { | ||||
|         if (supported_languages == 0 || (supported_languages & supported_flag) == supported_flag) { | ||||
|             return MakeResult(static_cast<u8>(lang)); | ||||
|         } | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Michael Scire
						Michael Scire