projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
put the revision number in the splash screen (scons and make)
[blender.git]
/
source
/
blender
/
src
/
headerbuttons.c
diff --git
a/source/blender/src/headerbuttons.c
b/source/blender/src/headerbuttons.c
index 2ad1702f1f0ca12cf2153b10e095ef8ed01094c8..26a719197eda844276212f0eed91abe238e8fe97 100644
(file)
--- a/
source/blender/src/headerbuttons.c
+++ b/
source/blender/src/headerbuttons.c
@@
-457,11
+457,12
@@
static void show_splash(void)
char buffer[1024];
extern char * build_date;
extern char * build_time;
char buffer[1024];
extern char * build_date;
extern char * build_time;
+ extern char * build_rev;
extern char * build_platform;
extern char * build_type;
string = &buffer[0];
extern char * build_platform;
extern char * build_type;
string = &buffer[0];
- sprintf(string,"Built on %s %s
Version %s %s", build_date, build_time
, build_platform, build_type);
+ sprintf(string,"Built on %s %s
, Rev-%s Version %s %s", build_date, build_time, build_rev
, build_platform, build_type);
#endif
splash((void *)datatoc_splash_jpg, datatoc_splash_jpg_size, string);
#endif
splash((void *)datatoc_splash_jpg, datatoc_splash_jpg_size, string);