do not limit year tag to 4 digits

This commit is contained in:
Andrzej Rybczak
2009-04-09 08:35:05 +02:00
parent 57cab87a36
commit c8f99be7d0
2 changed files with 2 additions and 2 deletions

View File

@@ -240,7 +240,7 @@ void Song::SetYear(const string &str)
{
if (itsSong->date)
str_pool_put(itsSong->date);
itsSong->date = str.empty() ? 0 : str_pool_get(IntoStr(StrToInt(str)).c_str());
itsSong->date = str.empty() ? 0 : str_pool_get(str.c_str());
}
void Song::SetYear(int year)