[PATCH] Fix REG_MULTI_SZ save fromat - bug 824

Michal Piaskowski piaskal at gmail.com
Mon Jan 7 13:34:44 CST 2008

On Jan 7, 2008 7:53 PM, Alexandre Julliard <julliard at winehq.org> wrote:
> "Michal Piaskowski" <piaskal at gmail.com> writes:
> > I don't know of any such application.
> > It's just an old bug and one of very few bugs marked as tasklets.
> > And it seemed very easy to fix, so i tried fixing it.
> > Plus it's different from the way windows XP does it.
> >
> > If you think it should stay the way it is now, maybe it should be
> > resolved with WONTFIX?
> I'm not opposed to fixing it, but changing all strings to hex format is
> not a good solution, it makes the file much harder to read and modify.

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?

I might try to do that.

More information about the wine-devel mailing list