[ooo-build-commit] .: crashrep/source
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Oct 1 01:22:26 PDT 2010
crashrep/source/unx/main.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4964008b14dd70952be30466a34748d294483101
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Oct 1 09:22:19 2010 +0100
#i112871# missing parentheses around || within &&
diff --git a/crashrep/source/unx/main.cxx b/crashrep/source/unx/main.cxx
index 2467735..7c6faf4 100755
--- a/crashrep/source/unx/main.cxx
+++ b/crashrep/source/unx/main.cxx
@@ -129,12 +129,12 @@ static string trim_string( const string& rString )
{
string temp = rString;
- while ( temp.length() && temp[0] == ' ' || temp[0] == '\t' )
+ while ( temp.length() && (temp[0] == ' ' || temp[0] == '\t') )
temp.erase( 0, 1 );
string::size_type len = temp.length();
- while ( len && temp[len-1] == ' ' || temp[len-1] == '\t' )
+ while ( len && (temp[len-1] == ' ' || temp[len-1] == '\t') )
{
temp.erase( len - 1, 1 );
len = temp.length();
More information about the ooo-build-commit
mailing list