From 774adf441e46e6e8f204cd5e7bbd32e82fd0500a Mon Sep 17 00:00:00 2001 From: law Date: Wed, 10 Jun 1998 22:42:51 +0000 Subject: [PATCH] Fixed Bug #124155; minor change to enable telnet: URLs on some Win systems git-svn-id: svn://10.0.0.236/trunk@3633 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/cmd/winfe/fegui.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozilla/cmd/winfe/fegui.cpp b/mozilla/cmd/winfe/fegui.cpp index 68298f4d670..e8bf30e3390 100755 --- a/mozilla/cmd/winfe/fegui.cpp +++ b/mozilla/cmd/winfe/fegui.cpp @@ -2216,6 +2216,10 @@ FE_ConnectToRemoteHost(MWContext * context, int url_type, char * // Strip off any command line options lpszArg = strstr(lpszApp, "%1"); + if ( !lpszArg ) { + // Look for "%l", instead. + lpszArg = strstr(lpszApp, "%l"); + } if (lpszArg) *lpszArg = '\0'; // null terminate the string here