[Github-comments] [geany/geany] Change Save As->Rename to Save As->Save and Remove Original (#1190)

elextr notifications at xxxxx
Wed Aug 24 01:32:44 UTC 2016


>  
>  	g_return_val_if_fail(!EMPTY(utf8_filename), FALSE);
>  
>  	if (doc->file_name != NULL)
>  	{
> -		if (rename_file)
> -		{
> -			document_rename_file(doc, utf8_filename);
> -		}
> +		if (remove_orig_file && strcmp(utf8_filename, doc->file_name) != 0)

Is doc->file_name UTF8?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1190/files/4019f701838557b6e6dd419a4c8de59701f7d64c#r75982138
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160823/1f71b726/attachment.html>


More information about the Github-comments mailing list