--- 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 "";