summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-26 12:34:54 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-26 12:34:54 +0000
commitd778f9505e1a1730399bb98430d517e2c90531bd (patch)
tree5d977ea9f70f739478087e076a10072a0fa756e5 /src/core
parent3c64ecdc3c3b3957de35482b337a3785e68fcb21 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@4199 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdmsg/src/msgoptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdmsg/src/msgoptions.cpp b/src/core/stdmsg/src/msgoptions.cpp
index e2cc34d99e..b92bc17027 100644
--- a/src/core/stdmsg/src/msgoptions.cpp
+++ b/src/core/stdmsg/src/msgoptions.cpp
@@ -55,7 +55,7 @@ static BYTE MsgDlgGetFontDefaultCharset(const TCHAR* szFont)
bool LoadMsgDlgFont(int i, LOGFONT* lf, COLORREF * colour)
{
- if (i > SIZEOF(fontOptionsList))
+ if (i >= SIZEOF(fontOptionsList))
return false;
char str[32];