Ticket #4713: sound-preflet.diff

File sound-preflet.diff, 474 bytes (added by stimut, 14 years ago)

Fix for Sounds preflet

  • src/preferences/sounds/HEventList.cpp

     
    3434void
    3535HEventRow::SetPath(const char* _path)
    3636{
    37     fPath = _path;
     37    if (_path == NULL)
     38        fPath = "";
     39    else
     40        fPath = _path;
    3841    BPath path(_path);
    3942    SetField(new BStringField(_path ? path.Leaf() : "<none>"), kSoundColumn);
    4043}