зеркало из https://github.com/mozilla/pjs.git
fixing windows bustage
This commit is contained in:
Родитель
a82a839164
Коммит
509b07e14e
|
@ -251,7 +251,7 @@ static void displayValues( nsIRegistry *reg, nsRegistryKey root ) {
|
||||||
switch ( type ) {
|
switch ( type ) {
|
||||||
case nsIRegistry::String: {
|
case nsIRegistry::String: {
|
||||||
char *strValue;
|
char *strValue;
|
||||||
rv = reg->GetString( root, name, &strValue );
|
rv = reg->GetStringUTF8( root, name, &strValue );
|
||||||
if ( rv == NS_OK ) {
|
if ( rv == NS_OK ) {
|
||||||
printString( strValue, strlen(name) );
|
printString( strValue, strlen(name) );
|
||||||
nsAllocator::Free( strValue );
|
nsAllocator::Free( strValue );
|
||||||
|
|
Загрузка…
Ссылка в новой задаче