X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=gui.c;h=493bc3c9781d6cfac42b91878d52153f2243910c;hb=ee7c57f8dc4edfdc91f2f8657b6429d90ab13e79;hp=5bad7e14616f505eddb0545f51658f70759fe996;hpb=1f12ea375358a0b30689e01efe82796ea4fcb14f;p=paraslash.git diff --git a/gui.c b/gui.c index 5bad7e14..493bc3c9 100644 --- a/gui.c +++ b/gui.c @@ -569,19 +569,19 @@ static int update_item(int item_num, char *buf) if (buf && buf[0]) goto dup; switch (item_num) { - case SI_ARTIST: + case SI_artist: *c = para_strdup("(artist tag not set)"); goto print; - case SI_TITLE: + case SI_title: *c = para_strdup("(title tag not set)"); goto print; - case SI_YEAR: + case SI_year: *c = para_strdup("????"); goto print; - case SI_ALBUM: + case SI_album: *c = para_strdup("(album tag not set)"); goto print; - case SI_COMMENT: + case SI_comment: *c = para_strdup("(comment tag not set)"); goto print; } @@ -680,8 +680,8 @@ static int status_post_select(struct sched *s, void *context) close(st->fd); st->fd = -1; clear_all_items(); - free(stat_content[SI_BASENAME]); - stat_content[SI_BASENAME] = + free(stat_content[SI_basename]); + stat_content[SI_basename] = para_strdup("stat command terminated!?"); print_all_items(); return 0;