Syntax seemed to be confusing according to the Bill
This commit is contained in:
parent
ebbcc3c97d
commit
41bd8eff90
@ -346,8 +346,7 @@ bool cmSystemTools::WriteRegistryValue(const char *key, const char *value)
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
if(RegSetValueEx(hKey,
|
if(RegSetValueEx(hKey,
|
||||||
(LPTSTR)valuename.c_str(),
|
(LPTSTR)valuename.c_str(),
|
||||||
0,
|
0,
|
||||||
@ -357,7 +356,6 @@ bool cmSystemTools::WriteRegistryValue(const char *key, const char *value)
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user