зеркало из https://github.com/mozilla/pjs.git
make HT Find/property dialogbox work with UTF8. reviewed by rjc
This commit is contained in:
Родитель
7a9107a472
Коммит
c118298d0e
|
@ -6243,7 +6243,7 @@ rdfProcDialogHandler(XPDialogState *dlgstate, char **argv, int argc, unsigned in
|
||||||
XP_CopyDialogString(strings, 1, dynStr);
|
XP_CopyDialogString(strings, 1, dynStr);
|
||||||
if (postHTMLdynStr != NULL) XP_CopyDialogString(strings, 2, postHTMLdynStr);
|
if (postHTMLdynStr != NULL) XP_CopyDialogString(strings, 2, postHTMLdynStr);
|
||||||
XP_MakeHTMLDialog(NULL, &rdfColorPropDialogInfo, RDF_COLOR_TITLE,
|
XP_MakeHTMLDialog(NULL, &rdfColorPropDialogInfo, RDF_COLOR_TITLE,
|
||||||
strings, node, PR_FALSE);
|
strings, node, PR_TRUE);
|
||||||
}
|
}
|
||||||
if (dynStr != NULL) XP_FREE(dynStr);
|
if (dynStr != NULL) XP_FREE(dynStr);
|
||||||
if (strings != NULL) XP_FreeDialogStrings(strings);
|
if (strings != NULL) XP_FreeDialogStrings(strings);
|
||||||
|
@ -6799,7 +6799,7 @@ HT_Find(char *hint)
|
||||||
}
|
}
|
||||||
context = gRDFMWContext(NULL);
|
context = gRDFMWContext(NULL);
|
||||||
XP_MakeHTMLDialog(context, &rdfFindDialogInfo, RDF_FIND_TITLE,
|
XP_MakeHTMLDialog(context, &rdfFindDialogInfo, RDF_FIND_TITLE,
|
||||||
strings, NULL, PR_FALSE);
|
strings, NULL, PR_TRUE);
|
||||||
}
|
}
|
||||||
if (dynStr != NULL) XP_FREE(dynStr);
|
if (dynStr != NULL) XP_FREE(dynStr);
|
||||||
if (strings != NULL) XP_FreeDialogStrings(strings);
|
if (strings != NULL) XP_FreeDialogStrings(strings);
|
||||||
|
@ -7024,7 +7024,7 @@ HT_Properties (HT_Resource node)
|
||||||
context = gRDFMWContext(NULL);
|
context = gRDFMWContext(NULL);
|
||||||
}
|
}
|
||||||
XP_MakeHTMLDialog(context, &rdfWorkspacePropDialogInfo,
|
XP_MakeHTMLDialog(context, &rdfWorkspacePropDialogInfo,
|
||||||
RDF_MAIN_TITLE, strings, node, PR_FALSE);
|
RDF_MAIN_TITLE, strings, node, PR_TRUE);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче