freebsd-ports/editors/openoffice.org-1.0/files/patch-registry+source+regkey.cxx
2005-07-29 02:16:38 +00:00

12 lines
271 B
C++

--- registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;