mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-23 03:06:56 -04:00
[misc] fix WDK warnings
This commit is contained in:
parent
9de7d0db84
commit
e1499c4db0
4 changed files with 19 additions and 8 deletions
|
@ -1648,6 +1648,7 @@ out:
|
|||
LPCDLGTEMPLATE GetDialogTemplate(int Dialog_ID)
|
||||
{
|
||||
int i;
|
||||
const char thai_id[] = "th-TH";
|
||||
size_t len;
|
||||
DWORD size;
|
||||
DWORD* dwBuf;
|
||||
|
@ -1672,7 +1673,7 @@ LPCDLGTEMPLATE GetDialogTemplate(int Dialog_ID)
|
|||
|
||||
// If 'Segoe UI Symbol' is available, and we are using Thai, we're done here
|
||||
if (IsFontAvailable("Segoe UI Symbol") && (selected_locale != NULL)
|
||||
&& (safe_strcmp(selected_locale->txt[0], "th-TH") == 0))
|
||||
&& (safe_strcmp(selected_locale->txt[0], thai_id) == 0))
|
||||
return rcTemplate;
|
||||
|
||||
// 'Segoe UI Symbol' cannot be used => Fall back to the best we have
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue