Registry Loading function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I sent in a bug report this morning (bug #1134) about problems with the
byte order when loading the registry from Windows ME. This seems to fix the
problem. It causes strings of type REG_MULTI_SZ to pass through to the
default handler, which then writes the values out in the proper order. I
don't know if it is "correct", but it does cause the str(7) values in
~/.wine/system.reg to match the bytes put out by regedit under windows. It
also allows MS Word to start up and work properly.

Also, the ~/.wine/*.reg files were written by winesetuptk.

James



--- misc/registry.c	2002-09-23 23:07:17.000000000 -0400
+++ misc/registry.c	2002-11-08 12:26:36.000000000 -0500
@@ -197,7 +197,6 @@
     switch(value->type) {
         case REG_SZ:
         case REG_EXPAND_SZ:
-        case REG_MULTI_SZ:
             if (value->type != REG_SZ) fprintf( f, "str(%d):", value->type );
             fputc( '\"', f );
             if (value->data) _dump_strW(value->data,value->len/sizeof(WCHAR),f,"\"\"");


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux