In src/document.c:

>  	{
>  		ui_set_statusbar(TRUE, "%s", err->message);
>  		g_error_free(err);
>  		return FALSE;
>  	}
>  
> -	filedata->len = (gsize) st.st_size;

@b4n Ah, OK, for some reason I lived under the impression that g_file_get_contents() returns the strlen() value in which case what I did would be wrong.

Is it OK to squash the fix-patch with the original patch now?


Reply to this email directly or view it on GitHub.