2011/9/13 Alexandre Julliard <julliard(a)winehq.org>:
Frédéric Delanoy <frederic.delanoy(a)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.
Well IMHO '\0' clearly indicates a char value, while 0 could be an integer (not in this obvioius example of course). This way you've a visual indicator/differentiator with nearby integer values assignments like "foo_integer_var = 0", and this could make the code more readable IMO