VC6 unicode fixes, NSISException still broken
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6082 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
5a5a3a674f
commit
b8f6c16fcd
4 changed files with 31 additions and 3 deletions
|
@ -65,6 +65,14 @@ void dopause(void)
|
|||
}
|
||||
}
|
||||
|
||||
double my_wtof(const wchar_t *str)
|
||||
{
|
||||
char buf[100];
|
||||
WideCharToMultiByte(0,0,str,-1,buf,100,0,0);
|
||||
return atof(buf);
|
||||
}
|
||||
|
||||
|
||||
// Returns 0 if everything is OK
|
||||
// Returns -1 if can't find the file
|
||||
// Returns -2 if the file is an invalid bitmap
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue