summaryrefslogtreecommitdiff
path: root/svtools/source/misc/filechangedchecker.cxx
diff options
context:
space:
mode:
authorMariusz Dykierek <mariuszdykierek@gmail.com>2012-01-23 12:52:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-23 12:53:22 +0000
commit1bc228f769be2999c10beefe224517804bb0316c (patch)
treea39c1479f24de4389e32f473852b918c20959382 /svtools/source/misc/filechangedchecker.cxx
parent7177eebc6942cc66a20514a409788ef87b1383b5 (diff)
Same expression on both sides of || in if condition
Diffstat (limited to 'svtools/source/misc/filechangedchecker.cxx')
-rw-r--r--svtools/source/misc/filechangedchecker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/misc/filechangedchecker.cxx b/svtools/source/misc/filechangedchecker.cxx
index 514841fc8166..50d73da26d9d 100644
--- a/svtools/source/misc/filechangedchecker.cxx
+++ b/svtools/source/misc/filechangedchecker.cxx
@@ -83,7 +83,7 @@ bool FileChangedChecker::hasFileChanged()
// Check if the seconds time stamp has any difference
// If so, then our file has changed meanwhile
if( newTime.Seconds != mLastModTime.Seconds ||
- newTime.Seconds != mLastModTime.Seconds )
+ newTime.Nanosec != mLastModTime.Nanosec )
{
// Since the file has changed, set the new status as the file status and
// return True