{ ui_set_statusbar(TRUE, "%s", err->message); g_error_free(err); return FALSE; }
- filedata->len = (gsize) st.st_size;
Hmm, just checked too and it's also related to
f60ead793d4435b8bd126519f093aef66b73a236
where size was moved to encodings.c and inside handle_buffer() (called from encodings_convert_to_utf8_auto()) it appears it distinguishes between len and size. So at least for encodings_convert_to_utf8_auto() we should actually use the value from stat(). Will try to fix.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/621/files#r40507696