X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Fapplication%2Fregistry_config.cpp;fp=nucleus%2Flibrary%2Fapplication%2Fregistry_config.cpp;h=9542f9e215141a7cc523e2c736c93f07bfae07d7;hb=7b39f7e279005c8466ef508220a532ce2aa4abf8;hp=0fcbb01b3272bd2ec028368af3fe3f96f75879ab;hpb=3fbd372b35b15a19fb171d5ae34294ff7b1e6485;p=feisty_meow.git diff --git a/nucleus/library/application/registry_config.cpp b/nucleus/library/application/registry_config.cpp index 0fcbb01b..9542f9e2 100644 --- a/nucleus/library/application/registry_config.cpp +++ b/nucleus/library/application/registry_config.cpp @@ -114,8 +114,8 @@ bool registry_configurator::put(const astring §ion_in, const astring &entry, LOG("failed to open the key, trying to create it."); DWORD dispose; // the disposition of the call (created or existing). ret = RegCreateKeyEx((HKEY)translate_hive(_hive), - to_unicode_temp(section), 0, NIL, REG_OPTION_NON_VOLATILE, - KEY_ALL_ACCESS, NIL, &key, &dispose); + to_unicode_temp(section), 0, NULL_POINTER, REG_OPTION_NON_VOLATILE, + KEY_ALL_ACCESS, NULL_POINTER, &key, &dispose); if (ret != ERROR_SUCCESS) { LOG("failed to create the key!!"); return false;