Data lines in XPM can be terminated either with NUL or "
| 35 | |
| 36 | // Data lines in XPM can be terminated either with NUL or " |
| 37 | static size_t MeasureLength(const char *s) { |
| 38 | size_t i = 0; |
| 39 | while (s[i] && (s[i] != '\"')) |
| 40 | i++; |
| 41 | return i; |
| 42 | } |
| 43 | |
| 44 | ColourDesired XPM::ColourFromCode(int ch) const { |
| 45 | return colourCodeTable[ch]; |