summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-12-21 23:10:41 +0000
committerCarl Hetherington <cth@carlh.net>2012-12-21 23:10:41 +0000
commite754a107a0003a7dcc84aaa3d1f01bac4d5591fd (patch)
tree6c69bee91c6731b350a8ff29f89fbfeb2f0fac65 /src/tools
parent5c6def04502f97fbf827890c5598f9f8b98bd346 (diff)
parent81c40635c73b402e13613a614fa8b9e9c2aa703a (diff)
Merge branch 'video-player' of /home/carl/git/dvdomatic into video-player
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dvdomatic.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/dvdomatic.cc b/src/tools/dvdomatic.cc
index 59f3ebc3e..9d0d58662 100644
--- a/src/tools/dvdomatic.cc
+++ b/src/tools/dvdomatic.cc
@@ -350,7 +350,11 @@ public:
{
wxAboutDialogInfo info;
info.SetName (_("DVD-o-matic"));
- info.SetVersion (std_to_wx (String::compose ("version %1 git %2", dvdomatic_version, dvdomatic_git_commit)));
+ if (strcmp (dvdomatic_git_commit, "release") == 0) {
+ info.SetVersion (std_to_wx (String::compose ("version %1", dvdomatic_version)));
+ } else {
+ info.SetVersion (std_to_wx (String::compose ("version %1 git %2", dvdomatic_version, dvdomatic_git_commit)));
+ }
info.SetDescription (_("Free, open-source DCP generation from almost anything."));
info.SetCopyright (_("(C) Carl Hetherington, Terrence Meiczinger, Paul Davis, Ole Laursen"));
wxArrayString authors;