Add TODOs re. new code.
This commit is contained in:
@@ -180,9 +180,13 @@ void print_info (Cd *cd)
|
|||||||
|
|
||||||
for (i = 1; i <= cd_get_ntrack(cd); i++) {
|
for (i = 1; i <= cd_get_ntrack(cd); i++) {
|
||||||
for (c = t_template; '\0' != *c; c++) {
|
for (c = t_template; '\0' != *c; c++) {
|
||||||
|
/* TODO: should apply escapes and width to disc
|
||||||
|
* template as well
|
||||||
|
*/
|
||||||
if ('\\' == *c) {
|
if ('\\' == *c) {
|
||||||
c++;
|
c++;
|
||||||
|
|
||||||
|
/* TODO: add more (all?) escapes */
|
||||||
switch (*c) {
|
switch (*c) {
|
||||||
case 'n':
|
case 'n':
|
||||||
putchar('\n');
|
putchar('\n');
|
||||||
@@ -198,6 +202,7 @@ void print_info (Cd *cd)
|
|||||||
c++;
|
c++;
|
||||||
|
|
||||||
/* parse flags */
|
/* parse flags */
|
||||||
|
/* TODO: zero-padding does nothing */
|
||||||
do {
|
do {
|
||||||
switch (*c) {
|
switch (*c) {
|
||||||
case '0': /* zero-padding */
|
case '0': /* zero-padding */
|
||||||
|
|||||||
Reference in New Issue
Block a user