cmd: Use NUL/0 instead of 0x00

Alexandre Julliard julliard at winehq.org
Tue Sep 13 09:25:06 CDT 2011


Frédéric Delanoy <frederic.delanoy at gmail.com> writes:

> @@ -374,7 +374,7 @@ void WCMD_HandleTildaModifiers(WCHAR **start, const WCHAR *forVariable,
>       points to the variable just after the modifiers. Process modifiers
>       in a specific order, remembering there could be duplicates           */
>    modifierLen = lastModifier - firstModifier;
> -  finaloutput[0] = 0x00;
> +  finaloutput[0] = '\0';

It's mostly a matter of taste, but I don't think '\0' is better than
0x00, it's just another complicated way of writing 0.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list