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:
haydentech 2004-05-26 16:43:58 +00:00
parent 759fcf143d
commit 0ddc8de6c6

View File

@ -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)