Changed to use version macros
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6795 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ed2a34c44f
commit
d5b989f7ff
@ -329,9 +329,9 @@ BTranslatorRoster::Version(int32 *outCurVersion, int32 *outMinVersion,
|
|||||||
static char vDate[] = __DATE__;
|
static char vDate[] = __DATE__;
|
||||||
if (!vString[0]) {
|
if (!vString[0]) {
|
||||||
sprintf(vString, "Translation Kit v%d.%d.%d %s\n",
|
sprintf(vString, "Translation Kit v%d.%d.%d %s\n",
|
||||||
static_cast<int>(B_TRANSLATION_CURRENT_VERSION >> 8),
|
static_cast<int>(TK_MAJOR_VERSION(B_TRANSLATION_CURRENT_VERSION)),
|
||||||
static_cast<int>((B_TRANSLATION_CURRENT_VERSION >> 4) & 0xf),
|
static_cast<int>(TK_MINOR_VERSION(B_TRANSLATION_CURRENT_VERSION)),
|
||||||
static_cast<int>(B_TRANSLATION_CURRENT_VERSION & 0xf),
|
static_cast<int>(TK_REVISION_VERSION(B_TRANSLATION_CURRENT_VERSION)),
|
||||||
vDate);
|
vDate);
|
||||||
}
|
}
|
||||||
*outCurVersion = B_TRANSLATION_CURRENT_VERSION;
|
*outCurVersion = B_TRANSLATION_CURRENT_VERSION;
|
||||||
|
Loading…
Reference in New Issue
Block a user