1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fix for PR 43856: Format doesn't work for wchar_t.

This commit is contained in:
Mikhail Khodjaiants 2003-09-29 19:05:49 +00:00
parent 103296262c
commit 3340b03ebf
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2003-10-29 Mikhail Khodjaiants
Fix for PR 43856: Format doesn't work for wchar_t.
* CValue.java
2003-10-23 Mikhail Khodjaiants 2003-10-23 Mikhail Khodjaiants
Changed the 'hasStackFrames' method of the 'CThread' class to return true regardless if Changed the 'hasStackFrames' method of the 'CThread' class to return true regardless if
the thread contains stack frames or not. This method is only used by UI to update the thread label. the thread contains stack frames or not. This method is only used by UI to update the thread label.

View file

@ -455,7 +455,7 @@ public class CValue extends CDebugElement implements ICValue
if ( getParentVariable() != null ) if ( getParentVariable() != null )
{ {
int size = getParentVariable().sizeof(); int size = getParentVariable().sizeof();
if ( size == 16 ) if ( size == 2 )
{ {
switch( getParentVariable().getFormat() ) switch( getParentVariable().getFormat() )
{ {
@ -471,7 +471,7 @@ public class CValue extends CDebugElement implements ICValue
} }
} }
} }
if ( size == 32 ) if ( size == 4 )
{ {
switch( getParentVariable().getFormat() ) switch( getParentVariable().getFormat() )
{ {