The following commit has been merged in the master branch:
commit c507d9eab2120c5e78667061cce03344380cc385
Author: andrei zavada <[email protected]>
Date: Mon Jan 28 18:56:23 2013 +0000
don't show psd spectrum for last incomplete page
diff --git a/src/ui/sf/montage-overlays.cc b/src/ui/sf/montage-overlays.cc
index 2d55a10..416d7a5 100644
--- a/src/ui/sf/montage-overlays.cc
+++ b/src/ui/sf/montage-overlays.cc
@@ -1,4 +1,3 @@
-// ;-*-C++-*-
/*
* File name: ui/sf/sf-montage-overlays.cc
* Project: Aghermann
@@ -108,7 +107,8 @@ draw_overlays( cairo_t* cr,
cairo_stroke( cr);
}
- if ( draw_spectrum and _p.pagesize_is_right() ) {
+ if ( draw_spectrum and _p.pagesize_is_right()
+ and _p.cur_page() < _p.full_pages() ) {
guint gx = 120,
gy = ptop + 25,
gh = min( 60.f, pbot - ptop - 5),
@@ -367,7 +367,7 @@ _draw_hour_ticks( cairo_t *cr, int htop, int hbot, bool
with_cursor)
}
-
-
-// eof
-
+// Local Variables:
+// Mode: c++
+// indent-tabs-mode: 8
+// End:
--
Sleep experiment manager
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit