Note: FormatCharTxtCtrl() and RemapChar() ===========================================================================
| 75 | // Note: FormatCharTxtCtrl() and RemapChar() |
| 76 | //=========================================================================== |
| 77 | char FormatCharTxtCtrl(const BYTE b, bool* pWasCtrl_) |
| 78 | { |
| 79 | if (pWasCtrl_) |
| 80 | *pWasCtrl_ = false; |
| 81 | |
| 82 | char c = (b & 0x7F); // .32 Changed: Lo now maps High Ascii to printable chars. i.e. ML1 D0D0 |
| 83 | if (b < 0x20) // SPACE |
| 84 | { |
| 85 | if (pWasCtrl_) |
| 86 | { |
| 87 | *pWasCtrl_ = true; |
| 88 | } |
| 89 | c = b + '@'; // map ctrl chars to visible |
| 90 | } |
| 91 | return c; |
| 92 | } |
| 93 | |
| 94 | //=========================================================================== |
| 95 | char FormatCharTxtHigh(const BYTE b, bool* pWasHi_) |
no outgoing calls
no test coverage detected