From 851b2da377260f49341c0f924ce9fbaedebcfcab Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Wed, 20 Nov 2024 00:34:29 +0100 Subject: [PATCH] minor whitespace change --- src/game_bd/bd_cave.c | 1 + src/game_bd/bd_caveset.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/game_bd/bd_cave.c b/src/game_bd/bd_cave.c index ae0fefc5..520c3fa4 100644 --- a/src/game_bd/bd_cave.c +++ b/src/game_bd/bd_cave.c @@ -1805,6 +1805,7 @@ unsigned int gd_cave_adler_checksum(GdCave *cave) unsigned int b = 0; gd_cave_adler_checksum_more(cave, &a, &b); + return (b << 16) + a; } diff --git a/src/game_bd/bd_caveset.c b/src/game_bd/bd_caveset.c index 55053040..59db8c84 100644 --- a/src/game_bd/bd_caveset.c +++ b/src/game_bd/bd_caveset.c @@ -745,6 +745,7 @@ int gd_cave_check_replays(GdCave *cave, boolean report, boolean remove, boolean int wrong = 0; riter = cave->replays; + while (riter != NULL) { GdReplay *replay = (GdReplay *)riter->data; -- 2.34.1