change internal storing of Song info (much less memory consumption)

This commit is contained in:
unK
2008-09-17 00:07:56 +02:00
parent ded070c61b
commit fac14dface
8 changed files with 249 additions and 129 deletions

View File

@@ -1056,10 +1056,10 @@ int main(int argc, char *argv[])
{
wFooter->WriteXY(0, Config.statusbar_visibility, "[.b]Filename:[/b] ", 1);
if (s.GetShortFilename() == EMPTY_TAG)
s.SetShortFilename(wFooter->GetString());
s.SetFile(wFooter->GetString());
else
s.SetShortFilename(wFooter->GetString(s.GetShortFilename()));
mSearcher->Current().first = "[.b]Filename:[/b] " + s.GetShortFilename();
s.SetFile(wFooter->GetString(s.GetFile()));
mSearcher->Current().first = "[.b]Filename:[/b] " + s.GetFile();
break;
}
case 2: