winmm: Don't use toupper.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2eb1849100
commit
b602787a93
|
@ -38,6 +38,7 @@
|
|||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winnls.h"
|
||||
#include "winternl.h"
|
||||
#include "mmsystem.h"
|
||||
#include "winemm.h"
|
||||
|
||||
|
@ -1054,7 +1055,7 @@ FOURCC WINAPI mmioStringToFOURCCA(LPCSTR sz, UINT uFlags)
|
|||
|
||||
for (i = 0; i < 4 && sz[i]; i++) {
|
||||
if (uFlags & MMIO_TOUPPER) {
|
||||
cc[i] = toupper(sz[i]);
|
||||
cc[i] = RtlUpperChar(sz[i]);
|
||||
} else {
|
||||
cc[i] = sz[i];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue