kernel32: Print a FIXME only once.

This commit is contained in:
Mike McCormack 2006-11-14 16:31:51 +09:00 committed by Alexandre Julliard
parent 31a9b087c1
commit 15446fb9c0

View file

@ -1524,6 +1524,7 @@ INT WINAPI MultiByteToWideChar( UINT page, DWORD flags, LPCSTR src, INT srclen,
{
const union cptable *table;
int ret;
static int once;
if (!src || (!dst && dstlen))
{
@ -1533,7 +1534,11 @@ INT WINAPI MultiByteToWideChar( UINT page, DWORD flags, LPCSTR src, INT srclen,
if (srclen < 0) srclen = strlen(src) + 1;
if (flags & MB_USEGLYPHCHARS) FIXME("MB_USEGLYPHCHARS not supported\n");
if (!once && (flags & MB_USEGLYPHCHARS))
{
once = 1;
FIXME("MB_USEGLYPHCHARS not supported\n");
}
switch(page)
{