From 5a7a7ba57081952fd5baee6a8310996a012095b6 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Mon, 22 Nov 2021 11:25:59 +0100 Subject: [PATCH] Don't use "realloc" in comment so that it doesn't show up --- src/video/SDL_RLEaccel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/video/SDL_RLEaccel.c b/src/video/SDL_RLEaccel.c index 1d94443fc..aa3dcc147 100644 --- a/src/video/SDL_RLEaccel.c +++ b/src/video/SDL_RLEaccel.c @@ -1227,7 +1227,7 @@ RLEAlphaSurface(SDL_Surface * surface) surface->flags &= ~SDL_SIMD_ALIGNED; } - /* realloc the buffer to release unused memory */ + /* reallocate the buffer to release unused memory */ { Uint8 *p = SDL_realloc(rlebuf, dst - rlebuf); if (!p) @@ -1391,9 +1391,9 @@ RLEColorkeySurface(SDL_Surface * surface) surface->flags &= ~SDL_SIMD_ALIGNED; } - /* realloc the buffer to release unused memory */ + /* reallocate the buffer to release unused memory */ { - /* If realloc returns NULL, the original block is left intact */ + /* If SDL_realloc returns NULL, the original block is left intact */ Uint8 *p = SDL_realloc(rlebuf, dst - rlebuf); if (!p) p = rlebuf;