Skip to content
Snippets Groups Projects
Commit 0a6480d3 authored by Martin Bähr's avatar Martin Bähr
Browse files

fix endless loop caused by trying to split into more parts of size 'with' than fit.

when splitting by an integer don't return any reminding fraction as extra part but instead spread it over the existing parts. this will make some parts longer than others, but depending on the situation this is desired.
to get only equal sized parts with a remaining fractional part split by a float.

Rev: lib/modules/Calendar.pmod/YMD.pike:1.18
parent daf2acaf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment