{ ui_set_statusbar(TRUE, "%s", err->message); g_error_free(err); return FALSE; }
- filedata->len = (gsize) st.st_size;
Yeah agreed it looked odd. FTR I just [traced it back to some encoding-related stuff](/geany/geany/commit/5331b0ada0bf655aa284c2712c98984c428b65da#diff-20352f47f8a14db7c31057b243a0ad26R637), no explanation why not using the size returned by the load function
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/621/files#r40503844
github-comments@lists.geany.org