[med-svn] [SCM] aghermann branch, master, updated. f0d4c0fd35bf09e7dff56ddb9a2d798ae916c2ef
andrei zavada
jh at johnhommer.com
Sun Feb 3 12:52:59 UTC 2013
The following commit has been merged in the master branch:
commit c507d9eab2120c5e78667061cce03344380cc385
Author: andrei zavada <jh at johnhommer.com>
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
More information about the debian-med-commit
mailing list