diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-05-27 16:32:06 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-05-27 16:32:06 +0200 |
commit | ae4550f462b23ebec3846b0ac1ad01af75116e1f (patch) | |
tree | a38910beccc7e2b3ec950c230d359d51d649db88 | |
parent | 30238cbff3d72df95ff422ed2fcb48f68f2be3cc (diff) | |
download | cmumble-ae4550f462b23ebec3846b0ac1ad01af75116e1f.tar.gz cmumble-ae4550f462b23ebec3846b0ac1ad01af75116e1f.tar.bz2 cmumble-ae4550f462b23ebec3846b0ac1ad01af75116e1f.zip |
Use PACKAGE_STRING from config.h rather than hardcoding version number
-rw-r--r-- | src/cmumble.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmumble.c b/src/cmumble.c index 5824807..342c63c 100644 --- a/src/cmumble.c +++ b/src/cmumble.c @@ -1,3 +1,5 @@ +#include "../config.h" + #include <stdlib.h> #include <string.h> #include <stdbool.h> @@ -574,7 +576,7 @@ int main(int argc, char **argv) MumbleProto__Version version; mumble_proto__version__init(&version); version.version = 0x010203; - version.release = "cmumble 0.1"; + version.release = PACKAGE_STRING; version.os = "Gentoo/Linux"; send_msg(&ctx, &version.base); } |