From 3879fc8987a3e234b1076cee4c954fa882b3dea3 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Mon, 8 Jan 2007 23:14:15 +0000 Subject: Fixes the escaping in the error message "The page %s was not fully loaded 2007-01-08 Diego Escalante Urrelo * embed/mozilla/EphyAboutModule.cpp: Fixes the escaping in the error message "The page %s was not fully loaded yet when the browser crashed..." by changing the g_strdup_printf into a g_markup_printf_escaped. Bug #374627. Patch by Diego Escalante Urrelo. svn path=/trunk/; revision=6801 --- embed/mozilla/EphyAboutModule.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'embed/mozilla/EphyAboutModule.cpp') diff --git a/embed/mozilla/EphyAboutModule.cpp b/embed/mozilla/EphyAboutModule.cpp index d478c4555..490c54bee 100644 --- a/embed/mozilla/EphyAboutModule.cpp +++ b/embed/mozilla/EphyAboutModule.cpp @@ -533,10 +533,10 @@ EphyAboutModule::CreateRecoverPage(nsIURI *aRecoverURI, rv = NS_NewURI(getter_AddRefs (uri), url, charset.get()); NS_ENSURE_SUCCESS (rv, rv); - char *secondary = g_strdup_printf + char *secondary = g_markup_printf_escaped (_("The page ā€œ%sā€ in this tab was not fully loaded yet when " "the web browser crashed; it could have caused the crash."), - rawurl.get()); + url.get()); nsCOMPtr channel; rv = WritePage (aRecoverURI, uri, uri, rawurl, title.get(), -- cgit v1.2.3