| 6950 | static void Strtrim(char* s) { char* str_end = s + strlen(s); while (str_end > s && str_end[-1] == ' ') str_end--; *str_end = 0; } |
| 6951 | |
| 6952 | void ClearLog() |
| 6953 | { |
| 6954 | for (int i = 0; i < Items.Size; i++) |
| 6955 | free(Items[i]); |
| 6956 | Items.clear(); |
| 6957 | } |
| 6958 | |
| 6959 | void AddLog(const char* fmt, ...) IM_FMTARGS(2) |
| 6960 | { |