projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implemented a dialog box for the ROC command
[pspp-builds.git]
/
src
/
data
/
calendar.c
diff --git
a/src/data/calendar.c
b/src/data/calendar.c
index ac37f86987341d7085d01990ba947ab1cd9cdecb..eb9e67250a733394739f997ab1c7b504627b1b50 100644
(file)
--- 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;
}