1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-29 19:23:38 +02:00

2004-08-14 Alain Magloire

Fix for 71992.
	* CType.java
This commit is contained in:
Alain Magloire 2004-08-16 15:59:06 +00:00
parent 1b5570c323
commit 066c8a91fc
2 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2004-08-14 Alain Magloire
Fix for 71992.
* CType.java
2004-08-04 Mikhail Khodjaiants 2004-08-04 Mikhail Khodjaiants
Fix for bug 69085: Arrays in the Expressions view Fix for bug 69085: Arrays in the Expressions view
* CArrayPartitionValue.java * CArrayPartitionValue.java

View file

@ -75,9 +75,8 @@ public class CType implements ICType
} }
int[] dims = new int[length]; int[] dims = new int[length];
type = getCDIType(); type = getCDIType();
for ( int i = length; i > 0; --i ) for (int i = 0; i < length; i++) {
{ dims[i] = ((ICDIArrayType)type).getDimension();
dims[i - 1] = ((ICDIArrayType)type).getDimension();
type = ((ICDIDerivedType)type).getComponentType(); type = ((ICDIDerivedType)type).getComponentType();
} }
return dims; return dims;