зеркало из https://github.com/mozilla/pjs.git
part of fixing bug #18107. This checkin fixes problem with passing in the correct length of the string value to set in the windows registry. This fix affects only the windows platform. r=sgehani
This commit is contained in:
Родитель
eb9b44ac8c
Коммит
e4f42bc507
|
@ -342,7 +342,7 @@ nsWinReg::NativeSetValueString(const nsString& subkey, const nsString& valname,
|
|||
char* valnameCString = valname.ToNewCString();
|
||||
char* valueCString = value.ToNewCString();
|
||||
|
||||
length = subkey.Length();
|
||||
length = value.Length();
|
||||
|
||||
root = (HKEY) mRootKey;
|
||||
result = RegOpenKeyEx( root, subkeyCString, 0, KEY_ALL_ACCESS, &newkey);
|
||||
|
|
Загрузка…
Ссылка в новой задаче