]> code.delx.au - gnu-emacs/commit
addpm.c: Don't pass REG_OPTION_NON_VOLATILE to RegOpenKeyEx
authorJuanma Barranquero <lekktu@gmail.com>
Sat, 24 Oct 2015 01:22:50 +0000 (03:22 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Sat, 24 Oct 2015 22:32:21 +0000 (00:32 +0200)
commit8a48f16de01eaa9f2c65baf43ab3168f68e0ad39
treebe350205f004266aecf2ab24084594b0eda5b3cc
parent478d9d9db39af654abdfeb793f2d9c2ecb71daf1
addpm.c: Don't pass REG_OPTION_NON_VOLATILE to RegOpenKeyEx

* nt/addpm.c (add_registry): Pass 0 to ulOptions argument of
RegOpenKeyEx, not REG_OPTION_NON_VOLATILE.  This doesn't change
current behavior because REG_OPTION_NON_VOLATILE is defined to
be 0L anyway, but that option is actually documented only for
RegCreateKeyEx.
nt/addpm.c