From 2f10a9e6cc4782d61f0f15bbff36209af922bd34 Mon Sep 17 00:00:00 2001 From: mataes2007 Date: Thu, 17 Nov 2011 18:10:43 +0000 Subject: =?UTF-8?q?=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=D1=8B?= =?UTF-8?q?=20=D0=B8=20=D0=BF=D0=BE=D0=B4=D1=87=D0=B8=D1=89=D0=B5=D0=BD?= =?UTF-8?q?=D1=8B=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=BD?= =?UTF-8?q?=D1=8B=D0=B5=20=D0=BF=D0=BB=D0=B0=D0=B3=D0=B8=D0=BD=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@174 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- lastseen-mod/file.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lastseen-mod/file.c') diff --git a/lastseen-mod/file.c b/lastseen-mod/file.c index 8addcc4..97cd2d9 100644 --- a/lastseen-mod/file.c +++ b/lastseen-mod/file.c @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. File name : $URL: http://svn.berlios.de/svnroot/repos/mgoodies/trunk/lastseen-mod/file.c $ Revision : $Rev: 1570 $ -Last change on : $Date: 2007-12-30 00:30:07 +0200 (Вс, 30 дек 2007) $ +Last change on : $Date: 2007-12-30 01:30:07 +0300 (Вс, 30 дек 2007) $ Last change by : $Author: y_b $ */ @@ -110,8 +110,8 @@ void FileWrite(HANDLE hcontact) strcpy(szout,ParseString(!DBGetContactSetting(NULL,S_MOD,"FileStamp",&dbv)?dbv.pszVal:DEFAULT_FILESTAMP,hcontact,1)); DBFreeVariant(&dbv); - WriteFile(fhout,szout,strlen(szout),&byteswritten,NULL); - WriteFile(fhout,sznl,strlen(sznl),&byteswritten,NULL); + WriteFile(fhout,szout, (DWORD)_tcslen(szout),&byteswritten,NULL); + WriteFile(fhout,sznl, (DWORD)_tcslen(sznl),&byteswritten,NULL); CloseHandle(fhout); -- cgit v1.2.3