3 Jul
2006
3 Jul
'06
8:35 p.m.
Alexandre Julliard wrote:
Andrew Talbot <Andrew.Talbot(a)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.