[cmd][buildins] Change output resource strings for correctlydisplayed

Dmitry Timoshkov dmitry at codeweavers.com
Fri Jan 26 22:32:06 CST 2007


"Anatoly Lyutin" <vostok at etersoft.ru> wrote:

> --- programs/cmd/builtins.c 23 Jan 2007 12:20:55 -0000 1.5
> +++ programs/cmd/builtins.c 26 Jan 2007 09:23:05 -0000
> @@ -44,6 +44,13 @@ struct env_stack
>   WCHAR *strings;
> };
> 
> +static inline unsigned int strlenW( const WCHAR *str )
> +{
> +    const WCHAR *s = str;
> +    while (*s) s++;
> +    return s - str;
> +}

Please use normal lstrlenW instead of introducing a handmade version.

-- 
Dmitry.



More information about the wine-devel mailing list