[Github-comments] [geany] Fix the "source file has been modified" issue (#621)

Colomban Wendling notifications at xxxxx
Sun Sep 27 12:39:00 UTC 2015


>  	{
>  		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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20150927/c43c124f/attachment.html>


More information about the Github-comments mailing list