Skip to content

Commit

Permalink
Renamed EDITION_LEVEL to VERSION_PATCH
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneStepsInc committed Oct 25, 2020
1 parent 1a71bba commit 9e4db43
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion linecnt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ std::string GetFileExtensions(const std::set<std::string, less_stricmp>& extlist
///
void PrintVersion(void)
{
printf("Version: %d.%d.%d\n", VERSION_MAJOR, VERSION_MINOR, EDITION_LEVEL);
printf("Version: %d.%d.%d\n", VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);
}

///
Expand Down
2 changes: 1 addition & 1 deletion linecnt.rc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#define RC_STRING(value) #value
#define RC_STRING_EX(value) RC_STRING(value)

#define RC_VERSION VERSION_MAJOR,VERSION_MINOR,EDITION_LEVEL,BUILD_NUMBER
#define RC_VERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH,BUILD_NUMBER
#define RC_VERSION_STR RC_STRING_EX(RC_VERSION)

#define VS_VERSION_INFO 1
Expand Down
2 changes: 1 addition & 1 deletion version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#define VERSION_MAJOR 2
#define VERSION_MINOR 1
#define EDITION_LEVEL 0
#define VERSION_PATCH 0
#define BUILD_NUMBER 5

#endif

0 comments on commit 9e4db43

Please sign in to comment.