From 3fc05c926e1000ad8eef1efdfcbd5aa98005d3e9 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Fri, 26 Jul 2013 16:47:44 +0200 Subject: [PATCH] Moved test data set into an #if block This makes testing a bit easier, only the #if 1 line has to be modified --- src/gradix.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/gradix.c b/src/gradix.c index 5ec7a2d..f9ef885 100644 --- a/src/gradix.c +++ b/src/gradix.c @@ -212,12 +212,14 @@ main(int argc, char *argv[]) #error "You need Clutter >= 1.3.6 to compile this software" #endif - int year = 1983, - month = 3, - day = 7, - hour = 11, - min = 54, - sec = 45; +#if 1 + year = 1983; + month = 3; + day = 7; + hour = 11; + min = 54; +#endif + double timezone = 1.0, lon = 19.081599, lat = 47.462485,