| File src/field.cpp changed (mode: 100644) (index ce9e4bb..ac71169) |
| ... |
... |
string Formatter::format(Song * song, Item keyword, unsigned int & printlen, c |
| 683 |
683 |
{ |
{ |
| 684 |
684 |
sprintf(s, "%ld/%d %s (%s)", static_cast<unsigned long>(list->selection.size), |
sprintf(s, "%ld/%d %s (%s)", static_cast<unsigned long>(list->selection.size), |
| 685 |
685 |
list->size(), |
list->size(), |
| 686 |
|
Pms::pluralformat(list->selection.size).c_str(), |
|
|
686 |
|
Pms::pluralformat(list->size()).c_str(), |
| 687 |
687 |
Pms::timeformat(list->selection.length).c_str()); |
Pms::timeformat(list->selection.length).c_str()); |
| 688 |
688 |
} |
} |
| 689 |
689 |
else |
else |
| |
| ... |
... |
string Formatter::format(Song * song, Item keyword, unsigned int & printlen, c |
| 691 |
691 |
sprintf(s, "%ld/%d/%d %s (%s)", static_cast<unsigned long>(list->selection.size), |
sprintf(s, "%ld/%d/%d %s (%s)", static_cast<unsigned long>(list->selection.size), |
| 692 |
692 |
list->size(), |
list->size(), |
| 693 |
693 |
list->realsize(), |
list->realsize(), |
| 694 |
|
Pms::pluralformat(list->selection.size).c_str(), |
|
|
694 |
|
Pms::pluralformat(list->realsize()).c_str(), |
| 695 |
695 |
Pms::timeformat(list->selection.length).c_str()); |
Pms::timeformat(list->selection.length).c_str()); |
| 696 |
696 |
} |
} |
| 697 |
697 |
} |
} |
| |
| ... |
... |
string Formatter::format(Song * song, Item keyword, unsigned int & printlen, c |
| 708 |
708 |
sprintf(s, "%d/%d %s (%s)", |
sprintf(s, "%d/%d %s (%s)", |
| 709 |
709 |
list->size(), |
list->size(), |
| 710 |
710 |
list->realsize(), |
list->realsize(), |
| 711 |
|
Pms::pluralformat(list->selection.size).c_str(), |
|
|
711 |
|
Pms::pluralformat(list->realsize()).c_str(), |
| 712 |
712 |
Pms::timeformat(list->selection.length).c_str()); |
Pms::timeformat(list->selection.length).c_str()); |
| 713 |
713 |
} |
} |
| 714 |
714 |
} |
} |