summaryrefslogtreecommitdiff
path: root/transex3
diff options
context:
space:
mode:
Diffstat (limited to 'transex3')
-rw-r--r--transex3/source/export2.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/transex3/source/export2.cxx b/transex3/source/export2.cxx
index 40ed6734c347..5db1067a7afb 100644
--- a/transex3/source/export2.cxx
+++ b/transex3/source/export2.cxx
@@ -165,15 +165,15 @@ void Export::QuotHTMLXRM( ByteString &rString )
switch ( rString.GetChar( i )) {
case '<':
if( i+2 < rString.Len() &&
- rString.GetChar( i+1 ) == 'b' || rString.GetChar( i+1 ) == 'B' &&
- rString.GetChar( +2 ) == '>' )
+ (rString.GetChar( i+1 ) == 'b' || rString.GetChar( i+1 ) == 'B') &&
+ rString.GetChar( i+2 ) == '>' )
{
sReturn +="<b>";
i += 2;
}
else if( i+3 < rString.Len() &&
rString.GetChar( i+1 ) == '/' &&
- rString.GetChar( i+2 ) == 'b' || rString.GetChar( i+2 ) == 'B' &&
+ (rString.GetChar( i+2 ) == 'b' || rString.GetChar( i+2 ) == 'B') &&
rString.GetChar( i+3 ) == '>' )
{
sReturn +="</b>";