summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stensgård <mastensg@mastensg.net>2025-07-08 23:22:55 +0200
committerMartin Stensgård <mastensg@mastensg.net>2025-07-08 23:22:55 +0200
commita8571be97dd6630387c22c53209fa56bc87065b4 (patch)
tree8d7fec45a539f62b3307d9eccd11c64a421dc6ae
parent131e9525be948dab3446026d8d0f5602bcd5bba3 (diff)
opplysning: s/booking/google/
-rw-r--r--opplysning.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/opplysning.c b/opplysning.c
index 0f8b338..c2998cf 100644
--- a/opplysning.c
+++ b/opplysning.c
@@ -241,18 +241,18 @@ draw_events(int x, int y, size_t numevents,
int
main(void)
{
- size_t ne_booking = 0;
+ size_t ne_google = 0;
size_t ne_meetup = 0;
- struct event ev_booking[MAX_EVENTS] = {0};
+ struct event ev_google[MAX_EVENTS] = {0};
struct event ev_meetup[MAX_EVENTS] = {0};
- load_events(&ne_booking, ev_booking, "booking.db");
- load_events(&ne_meetup, ev_meetup, "meetup.db");
+ load_events(&ne_google, ev_google, "var/google.db");
+ load_events(&ne_meetup, ev_meetup, "var/meetup.db");
const char *t_meetup = "Begivenheter";
const char *u_meetup = "Hentet fra https://www.meetup.com/bitraf/";
- const char *t_booking = "Reservasjoner";
- const char *u_booking = "Hentet fra Google-kalenderen «Bitraf booking»";
+ const char *t_google = "Reservasjoner";
+ const char *u_google = "Hentet fra Google-kalenderen «Bitraf booking»";
ray_init();
while (!WindowShouldClose()) {
@@ -262,12 +262,12 @@ main(void)
int x = 20;
int y = 0;
line(x, y, R.font_h, R.fg, t_meetup);
- line(x + SCREEN_W / 2, y, R.font_h, R.fg, t_booking);
+ line(x + SCREEN_W / 2, y, R.font_h, R.fg, t_google);
y += 50;
line(x, y, R.font_p, R.fg, u_meetup);
- line(x + SCREEN_W / 2, y, R.font_p, R.fg, u_booking);
+ line(x + SCREEN_W / 2, y, R.font_p, R.fg, u_google);
draw_events(x, y, ne_meetup, ev_meetup);
- draw_events(x + SCREEN_W / 2, y, ne_booking, ev_booking);
+ draw_events(x + SCREEN_W / 2, y, ne_google, ev_google);
EndDrawing();
}
CloseWindow();