{ ui_set_statusbar(TRUE, "%s", err->message); g_error_free(err); return FALSE; }
- filedata->len = (gsize) st.st_size;
Yeah, it was strange. But I actually feel safer to use the length from g_file_get_contents() and g_file_load_contents() - I don't think this should break anything.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/621/files#r40499507
github-comments@lists.geany.org