Report version assigned in decimal, not hexadecimal

This commit is contained in:
Marc Durdin 2018-03-06 08:48:02 +07:00
parent 080397dad7
commit f7cd009d75

View file

@ -21,7 +21,7 @@ BOOL CheckKeyboardFinalVersion(PFILE_KEYBOARD fk) {
fk->version = VERSION_60; // minimum version that we can be safe with
}
wsprintf(buf, "The compiler has assigned a minimum engine version of %x.%x based on features used in this keyboard", (fk->version & 0xFF00) >> 8, fk->version & 0xFF);
wsprintf(buf, "The compiler has assigned a minimum engine version of %d.%d based on features used in this keyboard", (fk->version & 0xFF00) >> 8, fk->version & 0xFF);
AddCompileString(buf);
}