mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-03-18 17:57:13 +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 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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue