gnome-games r8267 - branches/gnome-2-24/gnome-sudoku/src/lib
- From: rancell svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8267 - branches/gnome-2-24/gnome-sudoku/src/lib
- Date: Thu, 6 Nov 2008 11:39:03 +0000 (UTC)
Author: rancell
Date: Thu Nov 6 11:39:03 2008
New Revision: 8267
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8267&view=rev
Log:
Fix crash when printing zero puzzles (Bug #436275)
Modified:
branches/gnome-2-24/gnome-sudoku/src/lib/printing.py
Modified: branches/gnome-2-24/gnome-sudoku/src/lib/printing.py
==============================================================================
--- branches/gnome-2-24/gnome-sudoku/src/lib/printing.py (original)
+++ branches/gnome-2-24/gnome-sudoku/src/lib/printing.py Thu Nov 6 11:39:03 2008
@@ -273,7 +273,7 @@
drawer.draw_grid()
drawer.draw_sudoku()
count += 1
- self.gpc.showpage()
+ if count: self.gpc.showpage()
self.job.close()
self.drawn = True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]