From 6895d635acb37ba42e53ba95ca3eee2ddbbef24d Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Fri, 28 Nov 2014 21:19:14 +0000 Subject: Massive code cleanup and fixes for a lot of warnings reported in #837 git-svn-id: http://svn.miranda-ng.org/main/trunk@11136 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/fonts/FontOptions.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/fonts') diff --git a/src/modules/fonts/FontOptions.cpp b/src/modules/fonts/FontOptions.cpp index 20fb53871a..4d72a7d8bb 100644 --- a/src/modules/fonts/FontOptions.cpp +++ b/src/modules/fonts/FontOptions.cpp @@ -176,14 +176,14 @@ BOOL ExportSettings(HWND hwndDlg, TCHAR *filename, OBJLIST& flist, SelectObject(hdc, hOldFont); DeleteObject(hFont); - strncat(buff, _itoa((BYTE)size.cy, abuff, 10), SIZEOF(buff)); + strncat(buff, _itoa((BYTE)size.cy, abuff, 10), sizeof(buff)); } else if (F.flags & FIDF_SAVEPOINTSIZE) { HDC hdc = GetDC(hwndDlg); - strncat(buff, _itoa((BYTE)-MulDiv(F.value.size, 72, GetDeviceCaps(hdc, LOGPIXELSY)), abuff, 10), SIZEOF(buff)); + strncat(buff, _itoa((BYTE)-MulDiv(F.value.size, 72, GetDeviceCaps(hdc, LOGPIXELSY)), abuff, 10), sizeof(buff)); ReleaseDC(hwndDlg, hdc); } - else strncat(buff, _itoa((BYTE)F.value.size, abuff, 10), SIZEOF(buff)); + else strncat(buff, _itoa((BYTE)F.value.size, abuff, 10), sizeof(buff)); WriteLine(fhand, buff); -- cgit v1.2.3