From eb271b4ce68a64e2cf515b66866ddf6eb34feddd Mon Sep 17 00:00:00 2001 From: "scott%scott-macgregor.org" Date: Tue, 6 Feb 2007 05:13:07 +0000 Subject: [PATCH] remove ^M characters --- mail/base/content/mailCore.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/mail/base/content/mailCore.js b/mail/base/content/mailCore.js index 61d8cb38404..8845a5554f9 100644 --- a/mail/base/content/mailCore.js +++ b/mail/base/content/mailCore.js @@ -250,23 +250,23 @@ function openRegionURL(aResourceName) } catch (ex) {} } -/** - * Fetches the url for the passed in pref name, formats it and then loads it in the default - * browser. - * - * @param aPrefName - name of the pref that holds the url we want to format and open - */ -function openFormattedRegionURL(aPrefName) -{ - var formatter = Components.classes["@mozilla.org/toolkit/URLFormatterService;1"] - .getService(Components.interfaces.nsIURLFormatter); - var formattedUrl = formatter.formatURLPref(aPrefName); - +/** + * Fetches the url for the passed in pref name, formats it and then loads it in the default + * browser. + * + * @param aPrefName - name of the pref that holds the url we want to format and open + */ +function openFormattedRegionURL(aPrefName) +{ + var formatter = Components.classes["@mozilla.org/toolkit/URLFormatterService;1"] + .getService(Components.interfaces.nsIURLFormatter); + var formattedUrl = formatter.formatURLPref(aPrefName); + var uri = Components.classes["@mozilla.org/network/io-service;1"] .getService(Components.interfaces.nsIIOService) .newURI(formattedUrl, null, null); var protocolSvc = Components.classes["@mozilla.org/uriloader/external-protocol-service;1"] .getService(Components.interfaces.nsIExternalProtocolService); - protocolSvc.loadUrl(uri); -} + protocolSvc.loadUrl(uri); +}