| 6497 | static void Strtrim(char* s) { char* str_end = s + strlen(s); while (str_end > s && str_end[-1] == ' ') str_end--; *str_end = 0; } |
| 6498 | |
| 6499 | void ClearLog() |
| 6500 | { |
| 6501 | for (int i = 0; i < Items.Size; i++) |
| 6502 | free(Items[i]); |
| 6503 | Items.clear(); |
| 6504 | } |
| 6505 | |
| 6506 | void AddLog(const char* fmt, ...) IM_FMTARGS(2) |
| 6507 | { |