diff options
author | 2010-01-16 10:40:25 +0100 | |
---|---|---|
committer | 2010-01-16 10:40:25 +0100 | |
commit | 266020feaecc36683dc2101a4da463bd2f62f005 (patch) | |
tree | f5c8311a09a0bc849e29ba3ea13f0aad86f4516e /cgme.c | |
parent | b16aa6f510ae74d48b8103f54894ac529c2538ef (diff) |
fixed gme subsong number display as track number
Diffstat (limited to 'cgme.c')
-rw-r--r-- | cgme.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -127,9 +127,9 @@ cgme_insert (DB_playItem_t *after, const char *fname) { deadbeef->pl_add_meta (it, "system", inf.system); deadbeef->pl_add_meta (it, "album", inf.game); int tl = sizeof (inf.song); - int i; - for (i = 0; i < tl && inf.song[i] && inf.song[i] == ' '; i++); - if (i == tl || !inf.song[i]) { + int n; + for (n = 0; i < tl && inf.song[n] && inf.song[n] == ' '; n++); + if (n == tl || !inf.song[n]) { deadbeef->pl_add_meta (it, "title", NULL); } else { |