diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-07-23 06:27:25 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-07-23 06:27:25 +0000 |
| commit | 5a01dbc234e1ef4379afd92ab56229a153ba56f5 (patch) | |
| tree | a377853445d83fb49b42b7183b07e9bb99c35572 /url-mode.c | |
| parent | meson: bump to 1.23.0 (diff) | |
| parent | osc: color reset: read default color from currently active theme (diff) | |
Merge branch 'master' into releases/1.23
Diffstat (limited to 'url-mode.c')
| -rw-r--r-- | url-mode.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -634,12 +634,12 @@ urls_assign_key_combos(const struct config *conf, url_list_t *urls) size_t combo_idx = 0; - tll_foreach(*urls, it) { + tll_rforeach(*urls, it) { bool id_already_seen = false; /* Look for already processed URLs where both the URI and the * ID matches */ - tll_foreach(*urls, it2) { + tll_rforeach(*urls, it2) { if (&it->item == &it2->item) break; @@ -659,7 +659,7 @@ urls_assign_key_combos(const struct config *conf, url_list_t *urls) * them; if so, reuse the *same* key combo. */ bool url_already_seen = false; - tll_foreach(*urls, it2) { + tll_rforeach(*urls, it2) { if (&it->item == &it2->item) break; @@ -679,7 +679,7 @@ urls_assign_key_combos(const struct config *conf, url_list_t *urls) free(combos[i]); #if defined(_DEBUG) && LOG_ENABLE_DBG - tll_foreach(*urls, it) { + tll_rforeach(*urls, it) { if (it->item.key == NULL) continue; |
