* the divider width was taken from the wrong archive field

- this is my first commit, so i'm really looking forward to work with you guys    :)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22523 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Karsten Heimrich 2007-10-12 22:42:51 +00:00
parent 46a41c432c
commit ed1c257ade

View File

@ -126,7 +126,7 @@ BTextControl::BTextControl(BMessage* archive)
SetAlignment((alignment)labelAlignment, (alignment)textAlignment);
if (archive->HasFloat("_divide"))
archive->FindFloat("_a_text", &fDivider);
archive->FindFloat("_divide", &fDivider);
if (archive->HasMessage("_mod_msg")) {
BMessage* message = new BMessage;