mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
`clip_bytes` trimmed trailing spaces even when it didn't cut anything, so a sanitized prefix such as `A ` (from `A .`) lost its space in a short file name. It now returns a part that fits unchanged and trims only the end a cut leaves.