Fix using a c++23 extension with labels at the end of a block and fix writable strings warnings.

This commit is contained in:
Sven Balzer 2025-12-05 21:51:13 +01:00
parent 414e9bb330
commit 908f7a3275

View File

@ -69,10 +69,10 @@ void init(){
year = get_current_year();
}
static char* savefile_path = "./calendar";
static char* wiki_url = "https://gitea.ammerhai.com/Ammerhai/work-calendar/wiki";
static const char *savefile_path = "./calendar";
static const char *wiki_url = "https://gitea.ammerhai.com/Ammerhai/work-calendar/wiki";
static const char* month_names[] = {"Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"};
static const char *month_names[] = {"Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"};
typedef struct Category {
bool editing;
@ -426,7 +426,7 @@ void per_frame(){
};
num_categorized_days++;
}
color_changed:
color_changed:;
}
ImGui::EndTable();