From ae4550f462b23ebec3846b0ac1ad01af75116e1f Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 27 May 2011 16:32:06 +0200 Subject: Use PACKAGE_STRING from config.h rather than hardcoding version number --- src/cmumble.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 #include #include @@ -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); } -- cgit