Wrong variable used during unarchive
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7658 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
759fcf143d
commit
0ddc8de6c6
@ -279,7 +279,7 @@ BTextView::BTextView(BMessage *archive)
|
||||
SetColorSpace((color_space)flag);
|
||||
|
||||
if (archive->FindInt32("_max", &flag) == B_OK)
|
||||
SetMaxBytes(value);
|
||||
SetMaxBytes(flag);
|
||||
|
||||
if (archive->FindInt32("_sel", &flag) == B_OK &&
|
||||
archive->FindInt32("_sel", &flag2) == B_OK)
|
||||
|
Loading…
Reference in New Issue
Block a user