From: Holger Schemel Date: Wed, 17 Feb 2021 12:41:06 +0000 (+0100) Subject: fixed crash bug caused by accessing undefined sorting name X-Git-Tag: 4.2.3.0~7 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=d926d9b517e9e193d3d27ac20a2c9de3437d0463;p=rocksndiamonds.git fixed crash bug caused by accessing undefined sorting name --- diff --git a/src/libgame/setup.c b/src/libgame/setup.c index dc470a81..7b3168ab 100644 --- a/src/libgame/setup.c +++ b/src/libgame/setup.c @@ -4511,6 +4511,7 @@ static void InitLastPlayedLevels_ParentNode(void) setString(&leveldir_new->identifier, TOKEN_STR_LAST_LEVEL_SERIES); setString(&leveldir_new->name, "<< (last played level sets)"); + setString(&leveldir_new->name_sorting, leveldir_new->name); pushTreeInfo(leveldir_top, leveldir_new);