summaryrefslogtreecommitdiffstats
path: root/qtools/qdatetime.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-12-03 19:13:07 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-12-03 19:13:07 (GMT)
commit5167cf2076e30ed3f6ddd84b76543a0dff207496 (patch)
tree485fb83c5a301dd4b0edb3c534b1f31eeb08ab1f /qtools/qdatetime.cpp
parenta1995ea7b217edfe0a6ddf3d60ea7bde1e23c1d7 (diff)
downloadDoxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.zip
Doxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.tar.gz
Doxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.tar.bz2
Release-1.2.3-20001203
Diffstat (limited to 'qtools/qdatetime.cpp')
-rw-r--r--qtools/qdatetime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtools/qdatetime.cpp b/qtools/qdatetime.cpp
index 521a022..cecb855 100644
--- a/qtools/qdatetime.cpp
+++ b/qtools/qdatetime.cpp
@@ -355,7 +355,7 @@ bool QDate::setYMD( int y, int m, int d )
}
jd = greg2jul( y, m, d );
#if defined(DEBUG)
- ASSERT( year() == y && month() == m && day() == d );
+ ASSERT( year() == (y > 99 ? y : 1900+y) && month() == m && day() == d );
#endif
return TRUE;
}