[PATCH] Fix REG_MULTI_SZ save fromat - bug 824

Alexandre Julliard julliard at winehq.org
Mon Jan 7 16:05:16 CST 2008


"Michal Piaskowski" <piaskal at gmail.com> writes:

> I think it can be done without changing every string to hex.
> How about adding \0 at the end of every null terminated sting,
> and \0\0 at the end of proper REG_MULTI_SZ value which should
> end with an empty string?

It would work, but this can't be changed now, the file format needs to
remain backwards compatible.

It turns out that it's fairly easy to use hex format only for
non-terminated strings, I put in a fix.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list