Browse Source

Fix a clang warning.

Darryl Pogue 12 years ago
parent
commit
c7eba65e13
  1. 2
      Sources/Plasma/CoreLib/HeadSpin.cpp

2
Sources/Plasma/CoreLib/HeadSpin.cpp

@ -442,7 +442,7 @@ char *hsWStringToString( const wchar_t *str )
for (i = 0; i < len; i++) for (i = 0; i < len; i++)
{ {
char temp = wctob(str[i]); char temp = wctob(str[i]);
if (temp == WEOF) if (temp == EOF)
{ {
sStr[i] = '\0'; sStr[i] = '\0';
i = len; i = len;

Loading…
Cancel
Save