Fix buffer size.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42169 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e99f2683ba
commit
e445dd0ef7
@ -98,7 +98,7 @@ MemoryView::Draw(BRect rect)
|
|||||||
if (fTargetBlock == NULL)
|
if (fTargetBlock == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
char buffer[9];
|
char buffer[32];
|
||||||
|
|
||||||
int32 startLine = (int32)rect.top / fLineHeight;
|
int32 startLine = (int32)rect.top / fLineHeight;
|
||||||
int32 bytesPerLine = fNybblesPerLine / 2;
|
int32 bytesPerLine = fNybblesPerLine / 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user