зеркало из https://github.com/mozilla/pjs.git
fix for #118744. r=racham, sr=sspitzer. outlook express addresses
not displayed correctly in non US-ASCII locales. thanks to john.marmion@ireland.sun.com for the patch.
This commit is contained in:
Родитель
4c976f513f
Коммит
999fe2623d
|
@ -210,12 +210,12 @@ nsresult nsAbOutlookCard::Init(const char *aUri)
|
||||||
nsAutoString unichar ;
|
nsAutoString unichar ;
|
||||||
nsAutoString unicharBis ;
|
nsAutoString unicharBis ;
|
||||||
|
|
||||||
if (mapiAddBook->GetPropertyUString(*mMapiData, PR_HOME_ADDRESS_STREET, unichar)) {
|
if (mapiAddBook->GetPropertyUString(*mMapiData, PR_HOME_ADDRESS_STREET_W, unichar)) {
|
||||||
splitString(unichar, unicharBis) ;
|
splitString(unichar, unicharBis) ;
|
||||||
SetHomeAddress(unichar.get()) ;
|
SetHomeAddress(unichar.get()) ;
|
||||||
SetHomeAddress2(unicharBis.get()) ;
|
SetHomeAddress2(unicharBis.get()) ;
|
||||||
}
|
}
|
||||||
if (mapiAddBook->GetPropertyUString(*mMapiData, PR_BUSINESS_ADDRESS_STREET, unichar)) {
|
if (mapiAddBook->GetPropertyUString(*mMapiData, PR_BUSINESS_ADDRESS_STREET_W, unichar)) {
|
||||||
splitString(unichar, unicharBis) ;
|
splitString(unichar, unicharBis) ;
|
||||||
SetWorkAddress(unichar.get()) ;
|
SetWorkAddress(unichar.get()) ;
|
||||||
SetWorkAddress2(unicharBis.get()) ;
|
SetWorkAddress2(unicharBis.get()) ;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче