From 985e0f5eb2b941d472447f5e4daaa5364965c0b5 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 8 Jul 2022 03:17:33 +0300 Subject: [PATCH 16/16] Revert sdl-client part of "Fix nation selection dialog surface leak" Due to utility function differences between sdl- and sdl2-client, the change was completely wrong for sdl-client See osdn #44893 Signed-off-by: Marko Lindqvist --- client/gui-sdl/dialogs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/client/gui-sdl/dialogs.c b/client/gui-sdl/dialogs.c index 258c48f6b9..1648f210d6 100644 --- a/client/gui-sdl/dialogs.c +++ b/client/gui-sdl/dialogs.c @@ -3096,7 +3096,6 @@ void popup_races_dialog(struct player *pplayer) dst.y = (pTmp_Surf->h - len) / 2; alphablit(pTmp_Surf_zoomed, NULL, pTmp_Surf, &dst); dst.y += (pTmp_Surf_zoomed->h + adj_size(10)); - FREESURFACE(pTmp_Surf_zoomed); dst.x = (pTmp_Surf->w - pText_Name->w) / 2; alphablit(pText_Name, NULL, pTmp_Surf, &dst); -- 2.35.1