src/ldObject.cpp

changeset 1062
4119185b56ca
parent 1045
f726f8f49c7e
child 1063
1f15c52c11f6
--- a/src/ldObject.cpp	Sat Jan 28 13:32:55 2017 +0200
+++ b/src/ldObject.cpp	Sat Jan 28 13:49:09 2017 +0200
@@ -981,7 +981,7 @@
 		"NOCLIP",
 	};
 
-	if ((int) statement >= 0 and (int) statement < countof (statementStrings))
+	if ((int) statement >= 0 and (int) statement < length (statementStrings))
 		return QString::fromLatin1 (statementStrings[(int) statement]);
 	else
 		return "";

mercurial