Alexandre Julliard wrote:
Andrew Talbot Andrew.Talbot@talbotville.com writes:
@@ -113,8 +114,8 @@ } if (message->nFileCount) FIXME("Ignoring attachments\n");
- subject = message->lpszSubject ? message->lpszSubject : "";
- body = message->lpszNoteText ? message->lpszNoteText : "";
- subject = message->lpszSubject ? message->lpszSubject : empty;
- body = message->lpszNoteText ? message->lpszNoteText : empty;
These are not part of a Win32 API structure, there's no reason they can't be made const.
Great. I shall submit a patch to declare all the string elements of Wine's MapiMessage type as LPCSTR.
Thanks,
-- Andy.