diff --git a/src/kits/interface/TextView.cpp b/src/kits/interface/TextView.cpp
index 7aee6a3..e824a54 100644
a
|
b
|
BTextView::Archive(BMessage* data, bool deep) const
|
434 | 434 | if (err == B_OK) |
435 | 435 | err = data->AddBool("_nedit", !fEditable); |
436 | 436 | |
437 | | if (err == B_OK && fDisallowedChars != NULL) { |
| 437 | if (err == B_OK && fDisallowedChars != NULL && fDisallowedChars->CountItems() > 0) { |
438 | 438 | err = data->AddData("_dis_ch", B_RAW_TYPE, fDisallowedChars->Items(), |
439 | 439 | fDisallowedChars->CountItems() * sizeof(int32)); |
440 | 440 | } |