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:
parent
103296262c
commit
3340b03ebf
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
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.
|
||||
|
|
|
@ -455,7 +455,7 @@ public class CValue extends CDebugElement implements ICValue
|
|||
if ( getParentVariable() != null )
|
||||
{
|
||||
int size = getParentVariable().sizeof();
|
||||
if ( size == 16 )
|
||||
if ( size == 2 )
|
||||
{
|
||||
switch( getParentVariable().getFormat() )
|
||||
{
|
||||
|
@ -471,7 +471,7 @@ public class CValue extends CDebugElement implements ICValue
|
|||
}
|
||||
}
|
||||
}
|
||||
if ( size == 32 )
|
||||
if ( size == 4 )
|
||||
{
|
||||
switch( getParentVariable().getFormat() )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue