浏览代码

Fixed incorrect calculation of debugscope array size.

woollybah 11 年之前
父节点
当前提交
ae8720c3bf
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      ctranslator.bmx

+ 3 - 3
ctranslator.bmx

@@ -2628,15 +2628,15 @@ End Rem
 		CountClassFieldsDebugScope(classDecl, count)
 		
 		' standard methods
-		If classHasFunction(classDecl, "ToString") Then
+		If classHierarchyHasFunction(classDecl, "ToString") Then
 			count :+ 1
 		End If
 
-		If classHasFunction(classDecl, "Compare") Then
+		If classHierarchyHasFunction(classDecl, "Compare") Then
 			count :+ 1
 		End If
 
-		If classHasFunction(classDecl, "SendMessage") Then
+		If classHierarchyHasFunction(classDecl, "SendMessage") Then
 			count :+ 1
 		End If