Ticket #2086: Archivable.diff

File Archivable.diff, 659 bytes (added by shinta, 16 years ago)
  • src/kits/support/Archivable.cpp

     
    7272
    7373    BString name;
    7474    Demangle(typeid(*this).name(), name);
     75    if (name == "BPrivate::_BTextInput_") {
     76        name = "_BTextInput_";
     77    }
    7578
    7679    return into->AddString(B_CLASS_FIELD, name);
    7780}
     
    400403    int count = 0;
    401404    string origName(name);
    402405    vector<string> spacenames;
     406   
     407    if (origName == "_BTextInput_") {
     408        origName = "BPrivate::_BTextInput_";
     409    }
    403410
    404411    string::size_type pos = 0;
    405412    string::size_type oldpos = 0;