Compare commits
2 Commits
bf0bf91ce5
...
45adcab93d
| Author | SHA1 | Date | |
|---|---|---|---|
| 45adcab93d | |||
| b4e889cf33 |
@ -495,7 +495,7 @@ void per_frame(){
|
|||||||
if (ImGui::BeginTable("Weekdays", 7, ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_NoHostExtendX | ImGuiTableFlags_Borders)) {
|
if (ImGui::BeginTable("Weekdays", 7, ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_NoHostExtendX | ImGuiTableFlags_Borders)) {
|
||||||
int offset = weekday_from_day(year, month, 1);
|
int offset = weekday_from_day(year, month, 1);
|
||||||
|
|
||||||
for (int day = 1; day <= days_per_month(2025, month); day++) {
|
for (int day = 1; day <= days_per_month(year, month); day++) {
|
||||||
int weekday = weekday_from_day(year, month, day);
|
int weekday = weekday_from_day(year, month, day);
|
||||||
|
|
||||||
if (weekday == 0 || day == 1){
|
if (weekday == 0 || day == 1){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user