use wsprintf instead of itoa for smaller code size
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3960 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
b62da6fe46
commit
c48ec94bf6
1 changed files with 2 additions and 2 deletions
|
@ -109,9 +109,9 @@ NSISFunction(GetLibVersion) {
|
|||
|
||||
char buf[33];
|
||||
|
||||
itoa (typelibAttr->wMajorVerNum, buf, 10);
|
||||
wsprintf(buf, "%d", typelibAttr->wMajorVerNum);
|
||||
pushstring(buf);
|
||||
itoa (typelibAttr->wMinorVerNum, buf, 10);
|
||||
wsprintf(buf, "%d", typelibAttr->wMinorVerNum);
|
||||
pushstring(buf);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue