summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-10 12:27:45 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-10 17:11:48 +0100
commite99477a059db544c2950679f22b44972c0f16f37 (patch)
treef21e4b8a5ab487af697d6dd0bb48269f23b20dff /sot
parent7cc255c9df1483d75fbe340ab9407b6b887ffaea (diff)
Use proper bool operations
Change-Id: I93aef8d7c1824d906919a5d7043709fbf1586c3a
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stgdir.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgdir.cxx b/sot/source/sdstor/stgdir.cxx
index cec23162effa..18fe0b29efc2 100644
--- a/sot/source/sdstor/stgdir.cxx
+++ b/sot/source/sdstor/stgdir.cxx
@@ -561,7 +561,7 @@ bool StgDirEntry::Revert()
{
op->aEntry = op->aSave;
op->bDirty = false;
- bSomeRenamed = ( bSomeRenamed | op->bRenamed );
+ bSomeRenamed = ( bSomeRenamed || op->bRenamed );
// Remove any new entries
if( op->bCreated )
{