Convert ctrl characters to displayable Note: FormatCharTxtCtrl() and RemapChar()
| 5230 | // Convert ctrl characters to displayable |
| 5231 | // Note: FormatCharTxtCtrl() and RemapChar() |
| 5232 | static char RemapChar (const char c) |
| 5233 | { |
| 5234 | if ( c < 0x20 ) |
| 5235 | return c + '@'; // Remap INVERSE control character to NORMAL |
| 5236 | else if ( c == 0x7F ) |
| 5237 | return ' '; // Remap checkboard (DEL) to space |
| 5238 | |
| 5239 | return c; |
| 5240 | } |
| 5241 | |
| 5242 | |
| 5243 | size_t Util_GetDebuggerText ( char* &pText_ ) |
no outgoing calls
no test coverage detected