From 3c4ccf82586be6b22380df2bc35ae4770f91651f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 3 Oct 2016 13:55:54 +0000 Subject: 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 --- plugins/NotesAndReminders/src/options.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/NotesAndReminders') 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; } -- cgit v1.2.3