mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
add INTL_OldBookmarkCsidSel to support RDF bookmark import
This commit is contained in:
parent
8dde0fa58b
commit
52785da0aa
@ -101,7 +101,8 @@ INTLCharSetID FE_GetCharSetID(INTL_CharSetID_Selector selector)
|
||||
{
|
||||
case INTL_FileNameCsidSel:
|
||||
charsetID = (INTLCharSetID) ScriptToEncoding(GetScriptManagerVariable(smSysScript));
|
||||
break;
|
||||
break;
|
||||
case INTL_OldBookmarkCsidSel:
|
||||
case INTL_DefaultTextWidgetCsidSel:
|
||||
charsetID = (INTLCharSetID) ScriptToEncoding(FontToScript(applFont));
|
||||
break;
|
||||
|
@ -2898,6 +2898,9 @@ FE_GetCharSetID(INTL_CharSetID_Selector selector)
|
||||
case INTL_DefaultTextWidgetCsidSel:
|
||||
charsetID = (INTLCharSetID) fe_LocaleCharSetID;
|
||||
break;
|
||||
case INTL_OldBookmarkCsidSel:
|
||||
charsetID = (INTLCharSetID) INTL_DocToWinCharSetID(fe_LocaleCharSetID);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user