add INTL_OldBookmarkCsidSel to support RDF bookmark import

This commit is contained in:
ftang%netscape.com 1998-09-04 23:22:51 +00:00
parent 8dde0fa58b
commit 52785da0aa
2 changed files with 5 additions and 1 deletions

View File

@ -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;

View File

@ -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;
}