ajkhoury / ReClassEx

ReClassEx
MIT License
873 stars 175 forks source link

Incorrect rendering of DWORD #50

Closed msiecx closed 5 years ago

msiecx commented 5 years ago

There is a problem rendering DWORD values in your build of reclass: https://i.imgur.com/f4O95Gp.png

In CNodeDWORD.cpp:

//tx = AddText( View, tx, y, g_clrValue, HS_EDIT, g_bUnsignedHex ? _T( "0x%IX" ) : _T( "%u" ), *Data ) + g_FontWidth;
tx = AddText( View, tx, y, g_clrValue, HS_EDIT, g_bUnsignedHex ? _T( "0x%lX" ) : _T( "%u" ), *Data ) + g_FontWidth;

IX (uppercase I) is for ULONG_PTR, you want lX (lower case L) for unsigned int32.

ajkhoury commented 5 years ago

Nice catch! If you could open a PR, that would be 💯

ajkhoury commented 5 years ago

Fixed in 3cdc590