Set time to current by default
authorAndy Spencer <andy753421@gmail.com>
Sat, 17 Apr 2010 06:27:39 +0000 (06:27 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sat, 17 Apr 2010 06:27:39 +0000 (06:27 +0000)
src/gis-viewer.c

index 075c039ed2d5e3215e92a24a976a122af2ea56bc..f02d078e156b7580eed4548733374b2a6d77210d 100644 (file)
@@ -556,6 +556,7 @@ static void gis_viewer_init(GisViewer *viewer)
 {
        g_debug("GisViewer: init");
        /* Default values */
+       viewer->time        = time(NULL);
        viewer->location[0] = 40;
        viewer->location[1] = -100;
        viewer->location[2] = 1.5*EARTH_R;