From d1c8b9487d736f90128fe1ccc866709e5cd57722 Mon Sep 17 00:00:00 2001 From: "ftang%netscape.com" Date: Tue, 29 Feb 2000 20:38:16 +0000 Subject: [PATCH] fix problem I instroduced last night which do not expand "hostname" to "http://hostname" git-svn-id: svn://10.0.0.236/trunk@61886 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsWebShell.cpp | 2 +- mozilla/webshell/src/nsWebShell.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/docshell/base/nsWebShell.cpp b/mozilla/docshell/base/nsWebShell.cpp index 50f63e22dca..fee1a9f7ae5 100644 --- a/mozilla/docshell/base/nsWebShell.cpp +++ b/mozilla/docshell/base/nsWebShell.cpp @@ -2016,8 +2016,8 @@ nsWebShell::LoadURL(const PRUnichar *aURLSpec, PRInt32 qMarkLoc = -1, spaceLoc = -1; + rv = NS_ERROR_FAILURE; if (keywordsEnabled) { - rv = NS_ERROR_FAILURE; // These are keyword formatted strings // "what is mozilla" // "what is mozilla?" diff --git a/mozilla/webshell/src/nsWebShell.cpp b/mozilla/webshell/src/nsWebShell.cpp index 50f63e22dca..fee1a9f7ae5 100644 --- a/mozilla/webshell/src/nsWebShell.cpp +++ b/mozilla/webshell/src/nsWebShell.cpp @@ -2016,8 +2016,8 @@ nsWebShell::LoadURL(const PRUnichar *aURLSpec, PRInt32 qMarkLoc = -1, spaceLoc = -1; + rv = NS_ERROR_FAILURE; if (keywordsEnabled) { - rv = NS_ERROR_FAILURE; // These are keyword formatted strings // "what is mozilla" // "what is mozilla?"