gbrainy r298 - trunk/src
- From: jmas svn gnome org
- To: svn-commits-list gnome org
- Subject: gbrainy r298 - trunk/src
- Date: Sat, 12 Apr 2008 21:29:53 +0100 (BST)
Author: jmas
Date: Sat Apr 12 21:29:53 2008
New Revision: 298
URL: http://svn.gnome.org/viewvc/gbrainy?rev=298&view=rev
Log:
PDF fixes
Modified:
trunk/src/GameManager.cs
Modified: trunk/src/GameManager.cs
==============================================================================
--- trunk/src/GameManager.cs (original)
+++ trunk/src/GameManager.cs Sat Apr 12 21:29:53 2008
@@ -217,7 +217,7 @@
cr.Save ();
puzzle.DrawPreview (cr, width, height);
x += width + margin;
- if (x > (width + margin) * 2) {
+ if (x > width + margin) {
x = 0;
y += height + margin;
}
@@ -227,7 +227,7 @@
cr.Stroke ();
cr.Restore ();
- if (cnt > games_page) {
+ if (cnt >= games_page) {
cr.ShowPage ();
cnt = x = y = 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]