mirror of
https://github.com/wiiu-env/libgui.git
synced 2024-12-24 15:21:50 +01:00
Remove useless codes
Signed-off-by: Thomas Rohloff <v10lator@myway.de>
This commit is contained in:
parent
e049594552
commit
66794338cb
@ -78,14 +78,8 @@ wchar_t* FreeTypeGX::charToWideChar(const char* strChar) {
|
||||
if (bt == (size_t)-1)
|
||||
return NULL;
|
||||
|
||||
if (bt < --len) {
|
||||
if (bt < --len)
|
||||
strWChar[bt] = 0;
|
||||
return strWChar;
|
||||
}
|
||||
|
||||
wchar_t *tempDest = strWChar;
|
||||
while ((*tempDest++ = *strChar++))
|
||||
;
|
||||
|
||||
return strWChar;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user