| 1408 | // displayer below, except print in a different color. |
| 1409 | |
| 1410 | void PrintNotice(CONST char *sz) |
| 1411 | { |
| 1412 | #ifndef WIN |
| 1413 | AnsiColor(kYellowA); |
| 1414 | fprintf(stderr, "%s\n", sz); |
| 1415 | AnsiColor(kDefault); |
| 1416 | #else |
| 1417 | char szT[cchSzDef]; |
| 1418 | |
| 1419 | if (wi.fNoPopup) |
| 1420 | return; |
| 1421 | sprintf(szT, "%s Notice", szAppName); |
| 1422 | MessageBox(wi.hwndMain, sz, szT, MB_ICONINFORMATION); |
| 1423 | #endif |
| 1424 | } |
| 1425 | |
| 1426 | |
| 1427 | // Print a warning message given a string. This is called in non-fatal cases |
no test coverage detected