summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-10-12 16:16:13 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-10-12 16:16:13 +0000
commit2f11afa8c3103faa812db7be317f8a5239b4f0e1 (patch)
treedf547ed6fea5e6f272ffb7865af33a10b273bfa5 /plugins
parentfa45dfecc1e3d4b3d38b881022b6c9ae3267495d (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@1892 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/SimpleStatusMsg/src/commonheaders.h2
-rw-r--r--plugins/SimpleStatusMsg/src/main.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SimpleStatusMsg/src/commonheaders.h b/plugins/SimpleStatusMsg/src/commonheaders.h
index 54bf654ca4..2fd1426354 100644
--- a/plugins/SimpleStatusMsg/src/commonheaders.h
+++ b/plugins/SimpleStatusMsg/src/commonheaders.h
@@ -54,7 +54,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <m_icq.h>
#include <win2k.h>
-#include "../../protocols/IcqOscarJ/icq_constants.h"
+#include "../../protocols/IcqOscarJ/src/icq_constants.h"
#include "m_fortunemsg.h"
#include "m_statusplugins.h"
#include "m_toptoolbar.h"
diff --git a/plugins/SimpleStatusMsg/src/main.cpp b/plugins/SimpleStatusMsg/src/main.cpp
index a707a0ae66..96a62fc6cf 100644
--- a/plugins/SimpleStatusMsg/src/main.cpp
+++ b/plugins/SimpleStatusMsg/src/main.cpp
@@ -353,7 +353,7 @@ TCHAR *InsertBuiltinVarsIntoMsg(TCHAR *in, const char *szProto, int status)
DBVARIANT dbv;
BOOL rmark[25];
- for (k = 0; k < 26; k++) rmark[k] = FALSE;
+ for (k = 0; k < SIZEOF(rmark); k++) rmark[k] = FALSE;
maxk = DBGetContactSettingByte(NULL, "SimpleStatusMsg", "MaxHist", 10);
if (maxk == 0) rmark[0] = TRUE;
@@ -401,7 +401,7 @@ TCHAR *InsertBuiltinVarsIntoMsg(TCHAR *in, const char *szProto, int status)
DBVARIANT dbv;
BOOL rmark[25];
- for (k = 0; k < 26; k++) rmark[k] = FALSE;
+ for (k = 0; k < SIZEOF(rmark); k++) rmark[k] = FALSE;
maxk = DBGetContactSettingWord(NULL, "SimpleStatusMsg", "DefMsgCount", 0);
if (maxk == 0) rmark[0] = TRUE;