Mercurial > audlegacy-plugins
diff src/cdaudio-ng/cdaudio-ng.c @ 2040:997c71881e5b
No need for that long buffer.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 13 Oct 2007 22:41:28 +0300 |
parents | 04155ce9e72e |
children | ac3207cb728a |
line wrap: on
line diff
--- a/src/cdaudio-ng/cdaudio-ng.c Sat Oct 13 22:38:59 2007 +0300 +++ b/src/cdaudio-ng/cdaudio-ng.c Sat Oct 13 22:41:28 2007 +0300 @@ -927,7 +927,7 @@ static gint find_trackno_from_filename(gchar *filename) { - gchar tracknostr[DEF_STRING_LEN]; + gchar tracknostr[3]; if ((filename == NULL) || strlen(filename) <= 6) return -1;