summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
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;