[PATCH] Uninstaller: Use a define'd length instead of a magic number

Tom Spear speeddymon at gmail.com
Thu May 10 09:46:55 CDT 2007


MAX_STRING_LEN is defined in resource.h at 255.  According to
http://msdn2.microsoft.com/en-us/library/ms724872.aspx the limit for
the length of a subkey name is 255.

>> Please let me know if I should make a new define instead of using
MAX_STRING_LEN.

This patch was written due to suggestions by James Hawkins, and then
corrected to using a define due to a suggestion by Peter Beutner and
Dan Hipschman

-- 
Thanks

Tom

Check out this new 3D Instant Messenger called IMVU.  It's the best I
have seen yet!



http://imvu.com/catalog/web_invitation.php?userId=1547373&from=power-email
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-uninstaller-use-a-define-d-length-instead-of-a-magi.patch
Type: application/octet-stream
Size: 1484 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070510/6a80f447/0001-uninstaller-use-a-define-d-length-instead-of-a-magi.obj


More information about the wine-patches mailing list