Kaynağa Gözat

Add TODOs re. new code.

master
Svend Sorensen 20 yıl önce
ebeveyn
işleme
4bb80cca58
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. +5
    -0
      tools/cueprint.c

+ 5
- 0
tools/cueprint.c Dosyayı Görüntüle

@@ -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 */


Yükleniyor…
İptal
Kaydet