зеркало из https://github.com/mozilla/pjs.git
Bug 643649. Pass correct parameter value into registry call. r=joedrew
This commit is contained in:
Родитель
978a31d379
Коммит
2f8f6b3272
|
@ -1011,7 +1011,7 @@ gfxDWriteFontList::GetFontSubstitutes()
|
|||
|
||||
for (i = 0, rv = ERROR_SUCCESS; rv != ERROR_NO_MORE_ITEMS; i++) {
|
||||
aliasName[0] = 0;
|
||||
lenAlias = sizeof(aliasName);
|
||||
lenAlias = NS_ARRAY_LENGTH(aliasName);
|
||||
actualName[0] = 0;
|
||||
lenActual = sizeof(actualName);
|
||||
rv = RegEnumValueW(hKey, i, aliasName, &lenAlias, NULL, &valueType,
|
||||
|
|
|
@ -626,7 +626,7 @@ gfxGDIFontList::GetFontSubstitutes()
|
|||
|
||||
for (i = 0, rv = ERROR_SUCCESS; rv != ERROR_NO_MORE_ITEMS; i++) {
|
||||
aliasName[0] = 0;
|
||||
lenAlias = sizeof(aliasName);
|
||||
lenAlias = NS_ARRAY_LENGTH(aliasName);
|
||||
actualName[0] = 0;
|
||||
lenActual = sizeof(actualName);
|
||||
rv = RegEnumValueW(hKey, i, aliasName, &lenAlias, NULL, &valueType,
|
||||
|
|
Загрузка…
Ссылка в новой задаче