mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-10-12 02:09:17 +00:00
overlays: Fix warning (font_name is assigned a value that is only valid in the if scope)
This commit is contained in:
@@ -509,10 +509,13 @@ namespace rsx
|
||||
{
|
||||
if (font_name.empty())
|
||||
{
|
||||
font_name = g_cfg.video.ui.default_font.get();
|
||||
font_ref = fontmgr::get(g_cfg.video.ui.default_font.get(), font_size);
|
||||
}
|
||||
else
|
||||
{
|
||||
font_ref = fontmgr::get(font_name, font_size);
|
||||
}
|
||||
|
||||
font_ref = fontmgr::get(font_name, font_size);
|
||||
m_is_compiled = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user