(svn r26307) -Add: [nogo] Allow GS to hide story page date

This commit is contained in:
zuu
2014-02-06 19:50:34 +00:00
parent 6a571811c7
commit 3d2a8bb1e9
16 changed files with 80 additions and 38 deletions

View File

@@ -519,8 +519,10 @@ public:
int y_offset = - this->vscroll->GetPosition();
/* Date */
SetDParam(0, page->date);
DrawString(0, right - x, y_offset, STR_JUST_DATE_LONG, TC_BLACK);
if (page->date != INVALID_DATE) {
SetDParam(0, page->date);
DrawString(0, right - x, y_offset, STR_JUST_DATE_LONG, TC_BLACK);
}
y_offset += line_height;
/* Title */