addr_t is now defined in public headers.
Fixed missing initialization from fBitPosition which could result in strange input in the hex mode (only at first try). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7618 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -15,9 +15,6 @@
|
||||
#include <Beep.h>
|
||||
|
||||
|
||||
typedef uint32 addr_t;
|
||||
// this one is not yet defined in a public place
|
||||
|
||||
static const uint32 kBlockSize = 16;
|
||||
static const uint32 kHorizontalSpace = 8;
|
||||
static const uint32 kVerticalSpace = 4;
|
||||
@@ -58,6 +55,7 @@ DataView::DataView(BRect rect, DataEditor &editor)
|
||||
fFocus(kHexFocus),
|
||||
fBase(kHexBase),
|
||||
fIsActive(true),
|
||||
fBitPosition(0),
|
||||
fFitFontSize(false)
|
||||
{
|
||||
fPositionLength = 4;
|
||||
|
||||
Reference in New Issue
Block a user