mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 04:27:41 +00:00
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:
parent
f7aff5090a
commit
363df339f5
@ -210,12 +210,12 @@ nsresult nsAbOutlookCard::Init(const char *aUri)
|
||||
nsAutoString unichar ;
|
||||
nsAutoString unicharBis ;
|
||||
|
||||
if (mapiAddBook->GetPropertyUString(*mMapiData, PR_HOME_ADDRESS_STREET, unichar)) {
|
||||
if (mapiAddBook->GetPropertyUString(*mMapiData, PR_HOME_ADDRESS_STREET_W, unichar)) {
|
||||
splitString(unichar, unicharBis) ;
|
||||
SetHomeAddress(unichar.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) ;
|
||||
SetWorkAddress(unichar.get()) ;
|
||||
SetWorkAddress2(unicharBis.get()) ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user