* @brief advance current pointer over whitespace, until not whitespace or beyond end * @param pcurrent [in,out] current location (to be advanced) * @param end [in] last valid position (only go one beyond this) */
| 832 | * @param end [in] last valid position (only go one beyond this) |
| 833 | */ |
| 834 | static void |
| 835 | AdvanceOverWhitespace(const tchar_t **pcurrent, const tchar_t *end) |
| 836 | { |
| 837 | // advance over whitespace |
| 838 | while (*pcurrent <= end && isSafeWhitespace(**pcurrent)) |
| 839 | ++(*pcurrent); // DBCS safe because of isSafeWhitespace above |
| 840 | } |
| 841 | |
| 842 | /** |
| 843 | * @brief Compute begin1,begin2,end1,end2 to display byte difference between strings str1 & str2 |
no test coverage detected