From 8596d93bb95dbf08e9d1b1e9e1867f83ffb63105 Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Fri, 19 Jan 2001 23:26:29 +0000 Subject: [PATCH] use VERSION macro for version instead of hardcoding it --- include/FLAC/format.h | 3 ++- src/plugin_winamp2/in_flac.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/FLAC/format.h b/include/FLAC/format.h index f0d34d6..bde06f0 100644 --- a/include/FLAC/format.h +++ b/include/FLAC/format.h @@ -36,7 +36,8 @@ #define FLAC__MAX_FIXED_ORDER (4u) #define FLAC__MAX_RICE_PARTITION_ORDER (15u) -#define FLAC__VERSION_STRING "0.5" +/* VERSION comes from configure */ +#define FLAC__VERSION_STRING VERSION extern const unsigned FLAC__MAJOR_VERSION; extern const unsigned FLAC__MINOR_VERSION; diff --git a/src/plugin_winamp2/in_flac.c b/src/plugin_winamp2/in_flac.c index 3cbbd50..f676702 100644 --- a/src/plugin_winamp2/in_flac.c +++ b/src/plugin_winamp2/in_flac.c @@ -70,7 +70,7 @@ void config(HWND hwndParent) } void about(HWND hwndParent) { - MessageBox(hwndParent,"Winamp FLAC Plugin v0.5, by Josh Coalson\nSee http://flac.sourceforge.net/","About FLAC Plugin",MB_OK); + MessageBox(hwndParent,"Winamp FLAC Plugin v" VERSION ", by Josh Coalson\nSee http://flac.sourceforge.net/","About FLAC Plugin",MB_OK); } void init() -- 2.7.4