slide icon indicating copy to clipboard operation
slide copied to clipboard

Bug Fix

Open geekskick opened this issue 6 years ago • 0 comments

When there are multiple slides, if you go back to remove the second from last, the current_slide_ stays at 2, for example, and the deck reduces in size. This creates a segfault where the current_slide_ is equal to the length of the deck. This was fixed by adding a check in the RenderCurrentSlide method which reduces the current slide count if it's out of range.

Also changed the char arrays to std::arrays and fixed the typo in the dimension.h filename

geekskick avatar Jun 01 '18 16:06 geekskick