From 7a2e6e77c541f4522fe34ce46525436c23df2a47 Mon Sep 17 00:00:00 2001 From: "mozilla%weilbacher.org" Date: Sun, 20 Jul 2008 09:06:59 +0000 Subject: [PATCH] [OS/2] Bug 443756: Remove extra semicolon, p=jruderman, r=me git-svn-id: svn://10.0.0.236/trunk@253132 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/uriloader/exthandler/os2/nsOSHelperAppService.cpp | 2 +- mozilla/widget/src/os2/nsRwsService.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/uriloader/exthandler/os2/nsOSHelperAppService.cpp b/mozilla/uriloader/exthandler/os2/nsOSHelperAppService.cpp index 04fef5dfadd..e17530228c3 100644 --- a/mozilla/uriloader/exthandler/os2/nsOSHelperAppService.cpp +++ b/mozilla/uriloader/exthandler/os2/nsOSHelperAppService.cpp @@ -1461,7 +1461,7 @@ WpsMimeInfoFromExtension(const char *aFileExt, nsMIMEInfoOS2 *aMI) if (NS_FAILED(GetNLSString(NS_LITERAL_STRING("fileType").get(), fileType))) ustr.Assign(NS_LITERAL_STRING("%S file")); int pos = -1; - if ((pos = fileType.Find("%S")) > -1); + if ((pos = fileType.Find("%S")) > -1) fileType.Replace(pos, 2, ustr); aMI->SetDescription(fileType); } diff --git a/mozilla/widget/src/os2/nsRwsService.cpp b/mozilla/widget/src/os2/nsRwsService.cpp index f107afc49b9..8ccb8f13bb1 100644 --- a/mozilla/widget/src/os2/nsRwsService.cpp +++ b/mozilla/widget/src/os2/nsRwsService.cpp @@ -464,7 +464,7 @@ nsRwsService::HandlerFromPath(const char *aPath, PRUint32 *aHandle, nsAutoString classViewer; AssignNLSString(NS_LITERAL_STRING("classViewerOS2").get(), classViewer); int pos = -1; - if ((pos = classViewer.Find("%S")) > -1); + if ((pos = classViewer.Find("%S")) > -1) classViewer.Replace(pos, 2, buffer.Elements()); _retval.Assign(classViewer); rv = NS_OK;