Updated version number and README. Makefile can now change program version label, with 'make version LABEL=2.whatever

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@838 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2009-06-06 19:01:48 +00:00
parent a92fd3da13
commit 106912a5a0
9 changed files with 59 additions and 32 deletions

5
help.c
View File

@@ -47,6 +47,7 @@
#include "errors.h"
extern char SVN_revision[]; // generated in version.c
extern char Program_version[]; // generated in pversion.c
// Recherche un raccourci clavier:
word * Shortcut(word shortcut_number)
@@ -603,10 +604,8 @@ void Button_Stats(void)
// Affichage du numéro de version
Print_in_window(10,19,"Program version:",STATS_TITLE_COLOR,MC_Black);
sprintf(buffer,"GrafX 2.00 %s%s",ALPHA_BETA,PERCENTAGE_VERSION);
sprintf(buffer,"%s.%s",Program_version, SVN_revision);
Print_in_window(146,19,buffer,STATS_DATA_COLOR,MC_Black);
Print_in_window(10,27,"SVN revision #:",STATS_TITLE_COLOR,MC_Black);
Print_in_window(146,27,SVN_revision,STATS_DATA_COLOR,MC_Black);
Print_in_window(10,35,"Build options:",STATS_TITLE_COLOR,MC_Black);
Print_in_window(146,35,TrueType_is_supported()?"TTF fonts":"no TTF fonts",STATS_DATA_COLOR,MC_Black);