Compare commits
No commits in common. "feature/statistics" and "main" have entirely different histories.
feature/st
...
main
@ -4,7 +4,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <hydrogen.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "inter.h"
|
||||
#include "inter-bold.h"
|
||||
@ -636,13 +635,7 @@ void per_frame(){
|
||||
category.editing = false;
|
||||
}
|
||||
} else {
|
||||
uint64_t num_days_this_year = 0;
|
||||
for (size_t j = 0; j < num_categorized_days; j++) {
|
||||
if (categorized_days[j].category == i && categorized_days[j].year == year) {
|
||||
num_days_this_year++;
|
||||
}
|
||||
}
|
||||
ImGui::Text("%s (%" PRIu64 ")", category.name, num_days_this_year);
|
||||
ImGui::Text("%s", category.name);
|
||||
}
|
||||
|
||||
ImGui::TableSetColumnIndex(2);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user