[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
This commit is contained in:
parent
ce26d2ce10
commit
7a2e6e77c5
@ -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);
|
||||
}
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user