From: Dirk Hohndel Date: Sat, 26 Nov 2011 03:48:53 +0000 (-0800) Subject: Fix the Windows preferences support X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;ds=sidebyside;h=d2654d4951a01efd36f4189aeb02a791f20fa94d;hp=d2654d4951a01efd36f4189aeb02a791f20fa94d;p=ext%2Fsubsurface.git Fix the Windows preferences support Now that I can test Windows binaries again, the bugs were rather easy to spot. Because of the different flow of the opening, writing and closing of the registry key my first attempt got things wrong - we simply always create the key with all access rights; if it exists Windows will just open it for us. The second bug was a cut'n'paste error. Signed-off-by: Dirk Hohndel ---