forked from mirror/OpenTTD
(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.
This commit is contained in:
@@ -84,7 +84,7 @@ static void DrawSubsidiesWindow(const Window *w)
|
||||
|
||||
DrawWindowWidgets(w);
|
||||
|
||||
ConvertDayToYMD(&ymd, _date);
|
||||
ConvertDateToYMD(_date, &ymd);
|
||||
|
||||
y = 15;
|
||||
x = 1;
|
||||
|
Reference in New Issue
Block a user