fixed incorrect name in pdf files

pull/40/head
Nestal Wan 2012-07-12 00:30:19 +08:00
parent 66b3d37872
commit 278037b07b
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ bool Entry::IsRemoved() const
std::string Entry::Name() const
{
return m_kind == "file" ? m_filename : m_title ;
return (m_kind == "file" || m_kind == "pdf") ? m_filename : m_title ;
}
} // end of namespace