1
0
Fork 0
forked from len0rd/rockbox

Fixed stripping of \n..

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6378 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michiel Van Der Kolk 2005-04-28 17:41:39 +00:00
parent d98b6aec01
commit a40a3152bc

View file

@ -49,6 +49,7 @@ main() {
printf("Token spelling? ");
fflush(stdout);
fgets(token.spelling,254,stdin);
token.spelling[strlen(token.spelling)-1]=0;
}
if(token.kind==TOKEN_STRINGIDENTIFIER)
printf("TITLE=4 ARTIST=5 ALBUM=6 GENRE=7 FILENAME=8\n");