commit ff4fb4d321239e53bd8d1dbe63fedcda383fd860
parent ebfd4c19038464ed3a5e52617038c5b5ed515d35
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date: Tue, 29 Mar 2011 00:01:32 +0800
Gold-platting for the win!
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/spek-spectrogram.vala b/src/spek-spectrogram.vala
@@ -241,7 +241,7 @@ namespace Spek {
// The palette.
cr.translate (w - RPAD + GAP, h - BPAD);
- cr.scale (1, -(h - TPAD - BPAD) / palette.get_height ());
+ cr.scale (1, -(h - TPAD - BPAD + 1) / palette.get_height ());
cr.set_source_surface (palette, 0, 0);
cr.paint ();
cr.identity_matrix ();