diff options
| author | uint <abhinav.prsai@gmail.com> | 2025-11-29 16:25:19 +0000 |
|---|---|---|
| committer | uint <abhinav.prsai@gmail.com> | 2025-11-29 16:27:23 +0000 |
| commit | 87d9f9a48463814acc752df72fdcd423f1937327 (patch) | |
| tree | d5574adc87590ffd4f85c90bc748473e7a6bda52 /src/engine.c | |
| parent | 5d5f1c0ad39481cd11960c0f25c1d7c5318fef6d (diff) | |
rename to quartz because suckless took quark >:(
.
Diffstat (limited to 'src/engine.c')
| -rw-r--r-- | src/engine.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine.c b/src/engine.c index bf6ed35..5d4afe2 100644 --- a/src/engine.c +++ b/src/engine.c @@ -2,9 +2,9 @@ #include <stdlib.h> #include "engine.h" -#include "quark.h" +#include "quartz.h" -static quark_tab_t tabs[MAX_TABS]; +static quartz_tab_t tabs[MAX_TABS]; static int tab_count = 0; static int current_tab = -1; @@ -68,7 +68,7 @@ void engine_tab_close(int id) current_tab = tab_count - 1; } -quark_tab_t* engine_tab_current(void) +quartz_tab_t* engine_tab_current(void) { for (int i = 0; i < tab_count; i++) if (i == current_tab) @@ -84,7 +84,7 @@ int engine_tab_new(const char* url) return -1; } - quark_tab_t* t = &tabs[tab_count]; + quartz_tab_t* t = &tabs[tab_count]; t->url = SDL_strdup(url ? url : "about_blank"); t->title = SDL_strdup("new tab"); /* TODO: customise */ t->loading = true; |
