From dd1ce83521403d81ebfe46f7815a10220e4f3a96 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Sat, 26 Apr 2025 23:27:07 +0200 Subject: Add about:keys to show keyboard shortcuts Fixes: https://github.com/dillo-browser/dillo/issues/66 --- src/cache.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/cache.c') diff --git a/src/cache.c b/src/cache.c index 8c05c0eb..d2827e65 100644 --- a/src/cache.c +++ b/src/cache.c @@ -2,7 +2,7 @@ * File: cache.c * * Copyright 2000-2007 Jorge Arellano Cid - * Copyright 2024 Rodrigo Arias Mallo + * Copyright 2024-2025 Rodrigo Arias Mallo * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -89,7 +89,6 @@ static uint_t DelayedQueueIdleId = 0; static CacheEntry_t *Cache_process_queue(CacheEntry_t *entry); static void Cache_delayed_process_queue(CacheEntry_t *entry); static void Cache_auth_entry(CacheEntry_t *entry, BrowserWindow *bw); -static void Cache_entry_inject(const DilloUrl *Url, Dstr *data_ds); /** * Determine if two cache entries are equal (used by CachedURLs) @@ -125,7 +124,7 @@ void a_Cache_init(void) { DilloUrl *url = a_Url_new("about:splash", NULL); Dstr *ds = dStr_new(AboutSplash); - Cache_entry_inject(url, ds); + a_Cache_entry_inject(url, ds); dStr_free(ds, 1); a_Url_free(url); } @@ -266,7 +265,7 @@ static CacheEntry_t *Cache_entry_add(const DilloUrl *Url) * Inject full page content directly into the cache. * Used for "about:splash". May be used for "about:cache" too. */ -static void Cache_entry_inject(const DilloUrl *Url, Dstr *data_ds) +void a_Cache_entry_inject(const DilloUrl *Url, Dstr *data_ds) { CacheEntry_t *entry; -- cgit v1.2.3