Mercurial > audlegacy-plugins
changeset 2040:997c71881e5b
No need for that long buffer.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 13 Oct 2007 22:41:28 +0300 |
parents | 0be10f2f78ca |
children | ac3207cb728a |
files | src/cdaudio-ng/cdaudio-ng.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;