diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-08-25 12:14:33 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-08-25 12:37:08 +0000 |
commit | 6bcea2bb60824600dd4e46956290efbad434532b (patch) | |
tree | acaacb4d68890e02a42c7c2782377c2d5d837813 /bin/dtas-console | |
parent | 963d0b4be91e1050ba947a9bbddd511f78321c54 (diff) | |
download | dtas-6bcea2bb60824600dd4e46956290efbad434532b.tar.gz |
It's useful to show inactive ReplayGain values, as users may switch between the defaults and non-default values frequently.
Diffstat (limited to 'bin/dtas-console')
-rwxr-xr-x | bin/dtas-console | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/bin/dtas-console b/bin/dtas-console index 0575d1a..682afc7 100755 --- a/bin/dtas-console +++ b/bin/dtas-console @@ -134,12 +134,11 @@ begin Curses.setpos(lineno += 1, 0) Curses.clrtoeol end - if rg = cur["rg"] - rgs = rg_string(rg, current) - Curses.setpos(lineno += 1, 0) - Curses.clrtoeol - Curses.addstr(rgs) - end + + rgs = rg_string(cur["rg"] || {}, current) + Curses.setpos(lineno += 1, 0) + Curses.clrtoeol + Curses.addstr(rgs) show_events(lineno, screen, events) |