Reworked settings so as to use one large struct instead of lots of static
[pspp-builds.git] / src / data / calendar.c
index ac37f86987341d7085d01990ba947ab1cd9cdecb..eb9e67250a733394739f997ab1c7b504627b1b50 100644 (file)
@@ -58,7 +58,7 @@ calendar_gregorian_to_offset (int y, int m, int d,
   /* Normalize year. */
   if (y >= 0 && y < 100)
     {
-      int epoch = get_epoch ();
+      int epoch = settings_get_epoch ();
       int century = epoch / 100 + (y < epoch % 100);
       y += century * 100;
     }