diff options
author | rubidium <rubidium@openttd.org> | 2006-08-15 16:49:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-08-15 16:49:48 +0000 |
commit | 7d2ceb2063a4769fb92882a8851ed26267fa1e62 (patch) | |
tree | a8dc2bb9573156c15f1089772e4b388b37989f2d /subsidy_gui.c | |
parent | fda8bf2a226ded4d22c9c03ec965c340768ed9bd (diff) | |
download | openttd-7d2ceb2063a4769fb92882a8851ed26267fa1e62.tar.xz |
(svn r5918) -Cleanup: rename ConvertDayToYMD/ConvertYMDToDay as they really convert a Date to/from a YearMonthDay.
-Cleanup: swap ConvertDateToYMD's parameters to make the order consistent with the name of the function.
Diffstat (limited to 'subsidy_gui.c')
-rw-r--r-- | subsidy_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subsidy_gui.c b/subsidy_gui.c index edb6ede75..daba50675 100644 --- a/subsidy_gui.c +++ b/subsidy_gui.c @@ -84,7 +84,7 @@ static void DrawSubsidiesWindow(const Window *w) DrawWindowWidgets(w); - ConvertDayToYMD(&ymd, _date); + ConvertDateToYMD(_date, &ymd); y = 15; x = 1; |