Changeset 1394 for trunk/dll/notify.c
- Timestamp:
- Feb 5, 2009, 5:17:25 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/notify.c
r1391 r1394 6 6 7 7 Copyright (c) 1993-98 M. Kimes 8 Copyright (c) 2006, 200 8Steven H.Levine8 Copyright (c) 2006, 2009 Steven H.Levine 9 9 10 10 17 Jul 06 SHL Use Win_Error … … 85 85 rgb2F.bRed = (BYTE)65; 86 86 rgb2.bRed = rgb2.bGreen = rgb2.bBlue = (BYTE)255; 87 88 87 rgb2.fcOptions = 0; 88 //fixme to allow user to change presparams 1-10-09 GKY 89 89 SetPresParams(hwnd, &rgb2, &rgb2F, &rgb2, FNT_8HELVETICA); 90 90 if (hwndMain) { … … 163 163 */ 164 164 165 HWND DoNotify( char *str)165 HWND DoNotify(PCSZ str) 166 166 { 167 167 char *p; … … 197 197 p = xmalloc(strlen(str) + 2, pszSrcFile, __LINE__); 198 198 if (!p) 199 p = str;199 p = (PSZ)str; 200 200 else { 201 201 strcpy(p + 1, str); … … 204 204 } 205 205 else 206 p = str;206 p = (PSZ)str; 207 207 208 208 hwnd = WinCreateWindow(hwndP, … … 229 229 */ 230 230 231 HWND Notify( char *str)231 HWND Notify(PCSZ str) 232 232 { 233 233 return (HWND)WinSendMsg(MainObjectHwnd, UM_NOTIFY, MPFROMP(str), MPVOID); … … 238 238 */ 239 239 240 VOID NotifyError( CHAR *filename, APIRET status)240 VOID NotifyError(PCSZ filename, APIRET status) 241 241 { 242 242 CHAR errortext[512]; … … 495 495 */ 496 496 497 BOOL AddNote(CHAR * note) 498 { 499 CHAR *s, *p; 497 BOOL AddNote(PCSZ note) 498 { 499 PSZ s; 500 PCSZ p; 500 501 BOOL once = FALSE, ret = FALSE; 501 502
Note:
See TracChangeset
for help on using the changeset viewer.