Skip to content
Snippets Groups Projects
Commit c36fa8fc authored by mathieu.corboz's avatar mathieu.corboz
Browse files

Correction fonction scinder: pour i de 1 à ordre inclu

parent edbfd3b1
No related branches found
No related tags found
1 merge request!27Mathieu.corboz master patch 45762
This commit is part of merge request !27. Comments created here will be created in the context of that merge request.
......@@ -298,7 +298,7 @@ rien scinder(page, element) // casser une page et remonter
rien scinder(page, element)
nouvelle_page = nouvelle_page(page.ordre)
nouvelle_page.nb = page.ordre
pour i de 0 à ordre inclu
pour i de 1 à ordre inclu
nouvelle_page.tab[i] = page.tab[i+ordre+1]
element.clé = page.tab[ordre+1].clé
element.page = nouvelle_page
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment