#include "vframe.h"
#include "versioninfo.h"
-
+#ifndef COMPILEDATE
+#define COMPILEDATE "built: " __DATE__ " " __TIME__
+#endif
+const char *AboutPrefs::build_timestamp = COMPILEDATE;
AboutPrefs::AboutPrefs(MWindow *mwindow, PreferencesWindow *pwindow)
: PreferencesDialog(mwindow, pwindow)
about.append(new BC_ListBoxItem(msg));
}
BC_ListBox *listbox;
- add_subwindow(listbox = new BC_ListBox(x, y, 300, 280,
+ add_subwindow(listbox = new BC_ListBox(x, y, 450, 280,
LISTBOX_TEXT, &about, 0, 0, 1));
y += listbox->get_h() + get_text_height(LARGEFONT) + 10;
}
draw_text(x, y, license3);
y += get_text_height(MEDIUMFONT, license3);
-#ifndef COMPILEDATE
-#define COMPILEDATE "built: " __DATE__ " " __TIME__
-#endif
- draw_text(x, y, COMPILEDATE);
+ draw_text(x, y, build_timestamp);
#if defined(REPOMAINTXT)
- y += get_text_height(MEDIUMFONT, COMPILEDATE);
+ y += get_text_height(MEDIUMFONT, build_timestamp);
draw_text(x, y, REPOMAINTXT);
#endif