Replace duplicate functions and lstrlen/lstrcat with SDL string functions

This commit is contained in:
Cameron Cawley authored and Sam Lantinga committed 2021-03-05 12:03:58 -08:00
1 parent 67e8522d31
commit 391bb80bb9
6 files changed
+16 -50

No files matched your search

+2
View File
@@ -46,10 +46,12 @@
#if UNICODE
#define WIN_StringToUTF8 WIN_StringToUTF8W
#define WIN_UTF8ToString WIN_UTF8ToStringW
#define SDL_tcslen SDL_wcslen
#define SDL_tcsstr SDL_wcsstr
#else
#define WIN_StringToUTF8 WIN_StringToUTF8A
#define WIN_UTF8ToString WIN_UTF8ToStringA
#define SDL_tcslen SDL_strlen
#define SDL_tcsstr SDL_strstr
#endif