| 1199 | } |
| 1200 | |
| 1201 | inline bool TimeLabelSame(const char* l1, const char* l2) { |
| 1202 | size_t len1 = strlen(l1); |
| 1203 | size_t len2 = strlen(l2); |
| 1204 | size_t n = len1 < len2 ? len1 : len2; |
| 1205 | return strcmp(l1 + len1 - n, l2 + len2 - n) == 0; |
| 1206 | } |
| 1207 | |
| 1208 | static const ImPlotDateTimeSpec TimeFormatLevel0[ImPlotTimeUnit_COUNT] = { |
| 1209 | ImPlotDateTimeSpec(ImPlotDateFmt_None, ImPlotTimeFmt_Us), |
no test coverage detected