| 1730 | } |
| 1731 | |
| 1732 | const char* ImStrSkipBlank(const char* str) |
| 1733 | { |
| 1734 | while (str[0] == ' ' || str[0] == '\t') |
| 1735 | str++; |
| 1736 | return str; |
| 1737 | } |
| 1738 | |
| 1739 | // A) MSVC version appears to return -1 on overflow, whereas glibc appears to return total count (which may be >= buf_size). |
| 1740 | // Ideally we would test for only one of those limits at runtime depending on the behavior the vsnprintf(), but trying to deduct it at compile time sounds like a pandora can of worm. |
no outgoing calls
no test coverage detected