kernel32: MultiByteToWideChar: MB_USEGLYPHCHARS fix

Felix Nawothnig flexo at holycrap.org
Sat Mar 10 17:57:01 CST 2007


Andrew O.Shadoura wrote:
> +#if 0
>      static int once;
> +#endif
> 
>      if (!src || (!dst && dstlen))
>      {
> @@ -1774,11 +1783,13 @@ INT WINAPI MultiByteToWideChar( UINT pag
> 
>      if (srclen < 0) srclen = strlen(src) + 1;
> 
> +#if 0
>      if (!once && (flags & MB_USEGLYPHCHARS))
>      {
>          once = 1;
>          FIXME("MB_USEGLYPHCHARS not supported\n");
>      }
> +#endif

If you implemented MB_USEGLYPHCHARS just remove the FIXME. Don't submit 
dead code - git will remember all revisions...

Felix



More information about the wine-devel mailing list