Merge pull request #648 from keymanapp/developer-report-version-in-decimal

Report version assigned in decimal, not hexadecimal
This commit is contained in:
Marc Durdin 2018-03-06 08:55:40 +07:00 committed by GitHub
commit b752ec8449
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);
}