mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 15:47:39 +03:00
getBookSize() would crash when accessing index -1 if the spine was empty. calculateProgress() would then divide by zero. Added guards to return 0 in these edge cases. |
||
|---|---|---|
| .. | ||
| Epub | ||
| Epub.cpp | ||
| Epub.h | ||