diff options
Diffstat (limited to 'plugins/NotesAndReminders/src/options.cpp')
-rw-r--r-- | plugins/NotesAndReminders/src/options.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/NotesAndReminders/src/options.cpp b/plugins/NotesAndReminders/src/options.cpp index 62bad6bcd3..a9a1884c9b 100644 --- a/plugins/NotesAndReminders/src/options.cpp +++ b/plugins/NotesAndReminders/src/options.cpp @@ -303,12 +303,10 @@ void LoadNRFont(int i, LOGFONT *lf, COLORREF *colour) static void TrimString(TCHAR *s)
{
if (!s || !*s)
- {
return;
- }
TCHAR *start = s;
- UINT n = _tcslen(s) - 1;
+ UINT n = UINT(_tcslen(s) - 1);
TCHAR *end = s + n;
|