mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-24 00:54:18 +08:00
return NULL when not matched devfont
This commit is contained in:
+1
-4
@@ -252,12 +252,9 @@ DEVFONT* font_GetMatchedSBDevFont (LOGFONT* log_font)
|
||||
else {
|
||||
/*sbc logfont --- sbc devfont*/
|
||||
matched_devfont = get_matched_devfont (log_font, sb_dev_font_head,
|
||||
nr_sb_dev_fonts,log_font->charset);
|
||||
nr_sb_dev_fonts, log_font->charset);
|
||||
}
|
||||
|
||||
if (!matched_devfont && g_SysLogFont [0])
|
||||
matched_devfont = g_SysLogFont [0]->sbc_devfont;
|
||||
|
||||
return matched_devfont;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user