From fbdafd723c94d98a97551c9aee13754c25e74c1f Mon Sep 17 00:00:00 2001 From: MareStare Date: Mon, 17 Mar 2025 19:48:03 +0000 Subject: [PATCH] Fix another logic error --- lib/philomena/autocomplete/generator.ex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/philomena/autocomplete/generator.ex b/lib/philomena/autocomplete/generator.ex index af93c9d6..fcb2e7e3 100644 --- a/lib/philomena/autocomplete/generator.ex +++ b/lib/philomena/autocomplete/generator.ex @@ -25,8 +25,9 @@ defmodule Philomena.Autocomplete.Generator do // If >=0 then this tag is canonical and the `meta` is the number of images with this tag // - // If <0 then do the following calculation: `-meta - 1` and you'll get a 32 bit pointer - // `struct tag_reference*` to the canonical tag aliased by this one in the `primary_references` array + // If <0 then do the following calculation: `-meta - 1` and you'll get an index + // of a `tag_reference` for the canonical tag aliased by this one + // in the `primary_references` array int32_t meta; };