From 2f11afa8c3103faa812db7be317f8a5239b4f0e1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 12 Oct 2012 16:16:13 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@1892 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SimpleStatusMsg/src/commonheaders.h | 2 +- plugins/SimpleStatusMsg/src/main.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/SimpleStatusMsg') 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 #include -#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; -- cgit v1.2.3