mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-03-18 09:47:14 +01:00
Fix another logic error
This commit is contained in:
parent
ec482db852
commit
fbdafd723c
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue