[utf8vcl-cvs] utf8vcl UTF8VCLCommDlg.pas,1.2,1.3
Status: Alpha
Brought to you by:
bluelive
From: David Z. <dz...@us...> - 2007-08-17 14:40:07
|
Update of /cvsroot/utf8vcl/utf8vcl In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv9589 Modified Files: UTF8VCLCommDlg.pas Log Message: Convert lpTemplateName only when CC_ENABLETEMPLATE Index: UTF8VCLCommDlg.pas =================================================================== RCS file: /cvsroot/utf8vcl/utf8vcl/UTF8VCLCommDlg.pas,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** UTF8VCLCommDlg.pas 28 Mar 2007 14:22:33 -0000 1.2 --- UTF8VCLCommDlg.pas 17 Aug 2007 14:39:24 -0000 1.3 *************** *** 268,272 **** end; try ! CCW.lpTemplateName := ConvertFromUTF8(CC.lpTemplateName); CCW.lpfnHook := WndProcConvertW2U(Pointer(@CC.lpfnHook), Pointer(@StdWndProcInterceptU2W), Pointer(@StdWndProcInterceptW2U)); --- 268,273 ---- end; try ! if CC.Flags and CC_ENABLETEMPLATE <> 0 then ! CCW.lpTemplateName := ConvertFromUTF8(CC.lpTemplateName); CCW.lpfnHook := WndProcConvertW2U(Pointer(@CC.lpfnHook), Pointer(@StdWndProcInterceptU2W), Pointer(@StdWndProcInterceptW2U)); |