# HG changeset patch # User Ritor1 # Date 1358518544 -21600 # Node ID 34192c501dfe258c2735734b43399af4c2d7ca8b # Parent a32303569c4247eba2f260ea025062ae279b8cdf# Parent 352b15291822cb853f67f0872ea5ec02e48ab227 Слияние diff -r 352b15291822 -r 34192c501dfe mm7_2.cpp --- a/mm7_2.cpp Fri Jan 18 17:30:54 2013 +0600 +++ b/mm7_2.cpp Fri Jan 18 20:15:44 2013 +0600 @@ -13005,7 +13005,7 @@ hKey = 0; phkResult = 0; cbData = 4; - if ( !RegOpenKeyExA(HKEY_LOCAL_MACHINE, "SOFTWARE", 0, 0x2001Fu, &hKey) ) + if ( !RegOpenKeyExA(HKEY_LOCAL_MACHINE, "SOFTWARE", 0, KEY_READ|KEY_WOW64_32KEY, &hKey) ) { if ( !RegCreateKeyExA(hKey, "New World Computing", 0, "", 0, 0xF003Fu, 0, &phkResult, &dwDisposition) ) {