replaced glib function calls to g_memmove()
authorHolger Schemel <info@artsoft.org>
Fri, 23 Feb 2024 18:06:36 +0000 (19:06 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 23 Feb 2024 18:06:36 +0000 (19:06 +0100)
src/game_bd/bd_cave.c

index 537d8cb00a1c1da8c6841269664efade12ecbd59..a1a5d40959bda960ea062d8221e932edcdc288a1 100644 (file)
@@ -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);