Fix another logic error

This commit is contained in:
MareStare 2025-03-17 19:48:03 +00:00
parent ec482db852
commit fbdafd723c

View file

@ -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 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 // If <0 then do the following calculation: `-meta - 1` and you'll get an index
// `struct tag_reference*` to the canonical tag aliased by this one in the `primary_references` array // of a `tag_reference` for the canonical tag aliased by this one
// in the `primary_references` array
int32_t meta; int32_t meta;
}; };