about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-11 03:40:13 -0500
committerJune McEnroe <june@causal.agency>2020-02-11 03:40:33 -0500
commit40892a7415bb02c5463fe56dc79ad44724c770e9 (patch)
treed365a99944f33540e8d4f682c574204bb49e73a9
parentUse pkg(8) to configure on FreeBSD (diff)
downloadcatgirl-40892a7415bb02c5463fe56dc79ad44724c770e9.tar.gz
catgirl-40892a7415bb02c5463fe56dc79ad44724c770e9.zip
Fix completeReplace iteration
-rw-r--r--complete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/complete.c b/complete.c
index 2f5275f..041aade 100644
--- a/complete.c
+++ b/complete.c
@@ -124,7 +124,7 @@ size_t completeID(const char *str) {
 
 void completeReplace(size_t id, const char *old, const char *new) {
 	struct Node *next = NULL;
-	for (struct Node *node = head; node; node = node->next) {
+	for (struct Node *node = head; node; node = next) {
 		next = node->next;
 		if (id && node->id != id) continue;
 		if (strcmp(node->str, old)) continue;
.causal.agency/2024-09-05/lens?id=894873c86c5397a92499de39b4c52b5e99801441&follow=1'>Add photos from September 5June McEnroe 2024-09-15Add some more film stocks to the listJune McEnroe 2024-09-13Add photos from September 2June McEnroe 2024-09-13Add Fomapan 200 to films listJune McEnroe 2024-09-10Add August 29 picnic photosJune McEnroe 2024-09-08Apply some bold to trips renderingJune McEnroe 2024-09-08Render trips hopefully more efficientlyJune McEnroe 2024-09-08Allow removing bodies and lensesJune McEnroe 2024-09-08Limit body width so it looks less silly on desktopJune McEnroe 2024-09-07Handle no film being loadedJune McEnroe 2024-09-07Fancy up the text a littleJune McEnroe