Re: CVS: commit sum1 abi/src/af/xap/win xap_Win32Dlg_FileOpenSaveAs.cpp

From: Ryan Pavlik <abiryan_at_ryand.net>
Date: Thu Dec 21 2006 - 01:30:50 CET

Dear Sum1,

Thank you for your wonderful holiday gift! You are pretty cool in my book!

Sincerely,
Ryan

cvs@abisource.com wrote:
> Update of /cvsroot/abi/src/af/xap/win
> In directory abiword.snt.utwente.nl:/tmp/cvs-serv23216
>
> Modified Files:
> xap_Win32Dlg_FileOpenSaveAs.cpp
> Log Message:
> Fix file saving and loading in the win32 FOSA dialog. 2.5.x-only.
>
>
>
>
> Index: xap_Win32Dlg_FileOpenSaveAs.cpp
> ===================================================================
> RCS file: /cvsroot/abi/src/af/xap/win/xap_Win32Dlg_FileOpenSaveAs.cpp,v
> retrieving revision 1.49
> retrieving revision 1.50
> diff -u -d -r1.49 -r1.50
> --- xap_Win32Dlg_FileOpenSaveAs.cpp 19 Dec 2006 21:25:42 -0000 1.49
> +++ xap_Win32Dlg_FileOpenSaveAs.cpp 20 Dec 2006 22:21:48 -0000 1.50
> @@ -450,7 +450,17 @@
> }
> else
> {
> - UT_cloneString(m_szFinalPathname,szFile);
> + char *uri = UT_go_filename_to_uri(szFile);
> + if(uri)
> + {
> + UT_cloneString(m_szFinalPathname,uri);
> + }
> + else
> + {
> + UT_ASSERT_HARMLESS(UT_SHOULD_NOT_HAPPEN);
> + m_szFinalPathname = NULL;
> + }
> + g_free(uri);
> }
>
> m_answer = a_OK;
>
> -----------------------------------------------
> To unsubscribe from this list, send a message to
> abisource-cvs-commit-request@abisource.com with the word
> unsubscribe in the message body.
>
>

-- 
Ryan Pavlik
AbiWord Win32 Platform Maintainer: www.abisource.com
AbiWord Community Outreach Project: www.cleardefinition.com/oss/abi/blog/
"Optimism is the father that leads to achievement."
 -- Helen Keller
"The folder structure in a modern Linux distribution such as Ubuntu
was largely inspired by the original UNIX foundations that were
created by men with large beards and sensible jumpers."
 -- Jono Bacon, The Ubuntu Guide
Received on Thu Dec 21 01:31:06 2006

This archive was generated by hypermail 2.1.8 : Thu Dec 21 2006 - 01:31:07 CET