mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:33:00 +00:00
[REACTOS] Use the ISO C and C++ conformant names: _wcsicmp, _stricmp
Stop using non-conforming wcsicmp, stricmp, strcasecmp
This commit is contained in:
parent
fb9571ee3c
commit
e4930be4ff
87 changed files with 293 additions and 293 deletions
|
@ -42,14 +42,14 @@ IntTMWFixUp(
|
|||
* out the problematic TrueType and Vector bits.
|
||||
* Our list below checks for Raster Font Facenames. */
|
||||
DPRINT("Font Facename is '%S'.\n", lf.lfFaceName);
|
||||
if ((wcsicmp(lf.lfFaceName, L"Courier") == 0) ||
|
||||
(wcsicmp(lf.lfFaceName, L"FixedSys") == 0) ||
|
||||
(wcsicmp(lf.lfFaceName, L"Helv") == 0) ||
|
||||
(wcsicmp(lf.lfFaceName, L"MS Sans Serif") == 0) ||
|
||||
(wcsicmp(lf.lfFaceName, L"MS Serif") == 0) ||
|
||||
(wcsicmp(lf.lfFaceName, L"System") == 0) ||
|
||||
(wcsicmp(lf.lfFaceName, L"Terminal") == 0) ||
|
||||
(wcsicmp(lf.lfFaceName, L"Tms Rmn") == 0))
|
||||
if ((_wcsicmp(lf.lfFaceName, L"Courier") == 0) ||
|
||||
(_wcsicmp(lf.lfFaceName, L"FixedSys") == 0) ||
|
||||
(_wcsicmp(lf.lfFaceName, L"Helv") == 0) ||
|
||||
(_wcsicmp(lf.lfFaceName, L"MS Sans Serif") == 0) ||
|
||||
(_wcsicmp(lf.lfFaceName, L"MS Serif") == 0) ||
|
||||
(_wcsicmp(lf.lfFaceName, L"System") == 0) ||
|
||||
(_wcsicmp(lf.lfFaceName, L"Terminal") == 0) ||
|
||||
(_wcsicmp(lf.lfFaceName, L"Tms Rmn") == 0))
|
||||
{
|
||||
ptm->TextMetric.tmPitchAndFamily &= ~(TMPF_TRUETYPE | TMPF_VECTOR);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue