d3d9: only use wide char on msvc if UNICODE is defined
This commit is contained in:
parent
d557deb70d
commit
530d79f8e3
|
@ -47,10 +47,10 @@ static void *d3dfonts_w32_init_font(void *video_data,
|
|||
OUT_TT_PRECIS,
|
||||
CLIP_DEFAULT_PRECIS,
|
||||
DEFAULT_PITCH,
|
||||
#if defined(_MSC_VER) /* MSVC needs w_char* */
|
||||
#if defined(_MSC_VER) && defined(UNICODE) /* MSVC needs w_char* if using Unicode */
|
||||
L"Verdana" /* Hardcode FTL */
|
||||
#else
|
||||
"Verdana"
|
||||
"Verdana"
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue