Commit 30fa79a2 authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix Bug 36133

parent 1d8a9464
...@@ -1637,7 +1637,7 @@ CPresentation.prototype = ...@@ -1637,7 +1637,7 @@ CPresentation.prototype =
} }
} }
} }
for(i = 0; i < this.CurPage; ++i) for(i = 0; i <= this.CurPage; ++i)
{ {
Id = this.Slides[i].Search_GetId(isNext, 0); Id = this.Slides[i].Search_GetId(isNext, 0);
if(Id !== null) if(Id !== null)
...@@ -1743,7 +1743,7 @@ CPresentation.prototype = ...@@ -1743,7 +1743,7 @@ CPresentation.prototype =
return Id; return Id;
} }
} }
for(i = this.Slides.length - 1; i > this.CurPage; --i) for(i = this.Slides.length - 1; i >= this.CurPage; --i)
{ {
if(this.Slides[i].notesShape){ if(this.Slides[i].notesShape){
Id = this.Slides[i].notesShape.Search_GetId(isNext, false); Id = this.Slides[i].notesShape.Search_GetId(isNext, false);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment