summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/shlxthandler/shlxthdl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/shlxthandler/shlxthdl.cxx b/shell/source/win32/shlxthandler/shlxthdl.cxx
index 03f07afe9bf9..a2f8a1d3bc8a 100644
--- a/shell/source/win32/shlxthandler/shlxthdl.cxx
+++ b/shell/source/win32/shlxthandler/shlxthdl.cxx
@@ -289,7 +289,7 @@ namespace /* private */
hkey,
ClsidToString(Clsid).c_str());
- rc = RegCloseKey(hkey);
+ rc |= RegCloseKey(hkey);
}
return rc == ERROR_SUCCESS ? S_OK : E_FAIL;