mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
[UI] Fixed 'info' always true
This commit is contained in:
1 parent
22fdf6624c
commit
117e5f088c
2 files changed
+3
-3
No files matched your search
@@ -172,7 +172,7 @@ static std::string PostShaderTranslateName(std::string_view value) {
|
||||
const ShaderInfo *info = GetPostShaderInfo(value);
|
||||
if (info) {
|
||||
auto ps = GetI18NCategory(I18NCat::POSTSHADERS);
|
||||
return std::string(ps->T(value, info ? info->name : value));
|
||||
return std::string(ps->T(value, info->name));
|
||||
} else {
|
||||
return std::string(value);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user