saveload.c
changeset 4257 c738085d561e
parent 4255 5cb4bcf7c83f
child 4298 3417f80deca1
--- a/saveload.c	Sun Aug 13 08:18:11 2006 +0000
+++ b/saveload.c	Sun Aug 13 08:51:55 2006 +0000
@@ -516,7 +516,8 @@
 {
 	uint len;
 	assert(GetVarFileType(conv) == SLE_FILE_STRING);
-	assert(GetVarMemType(conv) == SLE_VAR_STRB || GetVarMemType(conv) == SLE_VAR_STRQ);
+	assert(GetVarMemType(conv) == SLE_VAR_STRB || GetVarMemType(conv) == SLE_VAR_STRBQ);
+	assert(ptr != NULL);
 
 	if (_sl.save) {
 		len = SlCalcNetStringLen(ptr, length);