X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fcalendar.c;h=eb9e67250a733394739f997ab1c7b504627b1b50;hb=ef35211c05259417e4f3dd4a7de44e92e4bc54a3;hp=ac37f86987341d7085d01990ba947ab1cd9cdecb;hpb=a9acce47d67e0ab35ce1690e4f1b1ac0121c2d78;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; }