mirror of
https://github.com/love2d/megasource.git
synced 2026-08-18 19:54:37 +02:00
Update SDL to 2.0.18
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* See COPYING.txt for the full license governing this code. */
|
||||
/* See LICENSE.txt for the full license governing this code. */
|
||||
/**
|
||||
* \file parsehelper.c
|
||||
*
|
||||
@@ -96,7 +96,7 @@ TokenizeHelper(char* str, char** tokens, int num_tokens, int max_token_len)
|
||||
if(!tokens[index])
|
||||
{
|
||||
int i;
|
||||
SDLTest_LogError("malloc() failed.");
|
||||
SDLTest_LogError("SDL_malloc() failed.");
|
||||
for(i = 0; i < index; i++)
|
||||
SDL_free(tokens[i]);
|
||||
return 0;
|
||||
@@ -215,7 +215,7 @@ SDLVisualTest_ParseArgsToArgv(char* args)
|
||||
argv = (char**)SDL_malloc((num_tokens + 2) * sizeof(char*));
|
||||
if(!argv)
|
||||
{
|
||||
SDLTest_LogError("malloc() failed.");
|
||||
SDLTest_LogError("SDL_malloc() failed.");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user