X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fcalendar.c;h=eb9e67250a733394739f997ab1c7b504627b1b50;hb=9b94efd7513afdb12a6023024e00e50801532fee;hp=ac37f86987341d7085d01990ba947ab1cd9cdecb;hpb=d56946881b61c6eed503c7266840ea307bddafdd;p=pspp-builds.git diff --git a/src/data/calendar.c b/src/data/calendar.c index ac37f869..eb9e6725 100644 --- a/src/data/calendar.c +++ b/src/data/calendar.c @@ -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; }