Thanks for the patch, I've now applied it using the following ChangeLog entry:
2003-09-26 Gisle Vanem <[EMAIL PROTECTED]> * mswindows.c (read_registry): Removed. (set_sleep_mode): New function. (windows_main_junk): Call it. BTW, unless you want your patch to be reviewed by a wider audience, you might want to send the patch to <[EMAIL PROTECTED]> instead. This, as well as the ChangeLog policy and some other things, is explained in the PATCHES document at the top level of Wget's distribution.