mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-11-17 07:48:27 +01:00
Fixed an encoding bug on Windows
This commit is contained in:
parent
d3df401664
commit
7a486ec697
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ unsigned int readFromUTF8(wchar_t *oString, unsigned int iWideSize,
|
||||||
const string &iContext)
|
const string &iContext)
|
||||||
{
|
{
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
if (iBuffer == NULL || *iBuffer == '\0')
|
if (iBufSize == 0 || iBuffer == NULL || *iBuffer == '\0')
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue