From 56570687a23b88c3149c74e45add4cc9ed92796c Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Fri, 23 Feb 2024 19:06:36 +0100 Subject: [PATCH] replaced glib function calls to g_memmove() --- src/game_bd/bd_cave.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game_bd/bd_cave.c b/src/game_bd/bd_cave.c index 537d8cb0..a1a5d409 100644 --- a/src/game_bd/bd_cave.c +++ b/src/game_bd/bd_cave.c @@ -578,7 +578,7 @@ void gd_cave_copy(GdCave *dest, const GdCave *src) int i; /* copy entire data */ - g_memmove(dest, src, sizeof(GdCave)); + memmove(dest, src, sizeof(GdCave)); /* but duplicate dynamic data */ dest->tags = create_hashtable(gd_str_case_hash, gd_str_case_equal, free, free); -- 2.34.1