commit b7a4b91c5c5f878d3ff4667eae71d2fb5a80c7e4 parent fed53d693f597905e7634024567eb0a71b46c130 Author: lostd <lostd@2f30.org> Date: Sun, 30 Dec 2012 23:16:31 +0000 Consistency in variable names Diffstat:
M | bin/musicfix | | | 10 | +++++----- |
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/bin/musicfix b/bin/musicfix @@ -177,11 +177,11 @@ else rel['tracklist'] = [] # Populate track-list tl.each do |s| - tr = {} - tr['pos'] = s.position - tr['artist'] = mkartist s.artists unless s.artists == nil - tr['title'] = s.title - rel['tracklist'] << tr + trk = {} + trk['pos'] = s.position + trk['artist'] = mkartist s.artists unless s.artists == nil + trk['title'] = s.title + rel['tracklist'] << trk end end