summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-10-03 13:55:54 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-10-03 13:55:54 +0000
commit3c4ccf82586be6b22380df2bc35ae4770f91651f (patch)
treec8f76150036f355ddf46fe34e08d4b08b66079c1
parentfd31dcd35bacaf6559b640c65b53c9bccd6c61f5 (diff)
fixes #1313 (Sticky Notes & Reminders crashes after adding new reminder)
git-svn-id: http://svn.miranda-ng.org/main/trunk@17346 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/NotesAndReminders/src/options.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/NotesAndReminders/src/options.cpp b/plugins/NotesAndReminders/src/options.cpp
index f59c2e3d1d..aa9a47e53b 100644
--- a/plugins/NotesAndReminders/src/options.cpp
+++ b/plugins/NotesAndReminders/src/options.cpp
@@ -279,12 +279,11 @@ void RegisterFontServiceFonts()
void LoadNRFont(int i, LOGFONT *lf, COLORREF *colour)
{
FontID fontid = { 0 };
-
fontid.cbSize = sizeof(fontid);
strncpy(fontid.group, LPGEN(SECTIONNAME), _countof(fontid.group));
strncpy(fontid.name, fontOptionsList[i].szDescr, _countof(fontid.name));
- COLORREF col = CallService(MS_FONT_GETW, (WPARAM)&fontid, (LPARAM)lf);
+ COLORREF col = CallService(MS_FONT_GET, (WPARAM)&fontid, (LPARAM)lf);
if (colour)
*colour = col;
}