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:
kichik 2005-04-15 22:11:59 +00:00
parent b62da6fe46
commit c48ec94bf6

View file

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