use VERSION macro for version instead of hardcoding it

This commit is contained in:
Josh Coalson 2001-01-19 23:26:29 +00:00
parent e55f390900
commit 8596d93bb9
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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()