freebsd-ports/astro/xglobe/files/patch-sunpos.cpp
Pav Lucistnik 20eb7a844c - Migrate to qt4
PR:		ports/154148
Submitted by:	G. Paul Ziemba <p-fbsd-bugs@ziemba.us>
Feature safe:	yes
2011-01-20 12:26:11 +00:00

11 lines
273 B
C++

--- sunpos.cpp.orig 1998-12-09 10:51:09.000000000 -0800
+++ sunpos.cpp 2011-01-18 14:22:52.000000000 -0800
@@ -203,7 +203,7 @@
double JD;
/* lazy test to ensure gregorian calendar */
- ASSERT(y >= 1583);
+ Q_ASSERT(y >= 1583);
if ((m == 1) || (m == 2))
{