diff --git a/src/xpdev/ini_file.c b/src/xpdev/ini_file.c
index 24e492d020ddaa1013f4911db28d1e3fb25ee2b9..9a029c5bab4fadaeae456a374a7367862ab1f894 100644
--- a/src/xpdev/ini_file.c
+++ b/src/xpdev/ini_file.c
@@ -532,7 +532,7 @@ char* iniSetBytes(str_list_t* list, const char* section, const char* key, ulong
 	double	bytes;
 
 	if(value==0)
-		SAFECPY(str,"0");
+		SAFECOPY(str,"0");
 	else
 		switch(unit) {
 			case 1024*1024*1024: