summaryrefslogtreecommitdiff
path: root/src/modules/netlib/netliblog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-15 16:48:03 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-15 16:48:03 +0000
commit3744b5146df8530d3b43a972d58223cb3ffb533c (patch)
treea322ca4d0f8eda203cdb618071399c2d0a30e841 /src/modules/netlib/netliblog.cpp
parentb92b010ae92db3f61a20ff2f579a5b717cfc8168 (diff)
- fixes for the plugins options' dialog;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@430 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/netlib/netliblog.cpp')
-rw-r--r--src/modules/netlib/netliblog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/netlib/netliblog.cpp b/src/modules/netlib/netliblog.cpp
index 8991f6ff24..6f633a6622 100644
--- a/src/modules/netlib/netliblog.cpp
+++ b/src/modules/netlib/netliblog.cpp
@@ -520,7 +520,7 @@ void NetlibDumpData(struct NetlibConnection *nlc, PBYTE buf, int len, int sent,
szBuf = (char*)(useStack ? alloca(sz) : mir_alloc(sz));
CopyMemory(szBuf, szTitleLine, titleLineLen);
pszBuf = szBuf + titleLineLen;
- for ( line = 0; ; line += 16 ) {
+ for ( line = 0;; line += 16 ) {
colsInLine = min(16, len - line);
if (colsInLine == 16) {
@@ -535,7 +535,7 @@ void NetlibDumpData(struct NetlibConnection *nlc, PBYTE buf, int len, int sent,
for (col = 0; col < colsInLine; col++)
pszBuf += wsprintfA(pszBuf, "%02X%c", buf[line + col], ((col&3) == 3 && col != 15)?'-':' ');
// Fill out last line with blanks
- for ( ; col<16; col++)
+ for (; col<16; col++)
{
lstrcpyA(pszBuf, " ");
pszBuf += 3;