From d24d3a9b738fba664655430bfb0ff6f1d6307d00 Mon Sep 17 00:00:00 2001
From: Fil <fil@rezo.net>
Date: Tue, 14 Sep 2004 08:28:06 +0000
Subject: [PATCH] =?UTF-8?q?l'indice=20de=20d=C3=A9part=20c'est=200,=20que?=
 =?UTF-8?q?=20cela=20soit=20clair=20!?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 inc-compilo.php3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/inc-compilo.php3 b/inc-compilo.php3
index b5035d9504..5d89de9ab4 100644
--- a/inc-compilo.php3
+++ b/inc-compilo.php3
@@ -379,10 +379,10 @@ function calculer_parties($partie, $mode_partie, $total_parties, $id_boucle) {
 	// {1/3}
 	if ($op1 == '/') {
 		$retour .= "\n	"
-			.'$debut_boucle = 1 + ceil(($nombre_boucle * '
+			.'$debut_boucle = ceil(($nombre_boucle * '
 			. ($partie - 1) . ')/' . $total_parties . ");\n	"
 			. '$fin_boucle = ceil (($nombre_boucle * '
-			. $partie . ')/' . $total_parties . ");";
+			. $partie . ')/' . $total_parties . ") - 1;";
 	}
 
 	// {1,x}
-- 
GitLab