-
New items must always be added _before_ the 'history' cursor, so they will always move it to the right. The confusion came from an earlier implementation, where "history == 0" was synonymous with "no history" (and it was not possible to consider the whole array as history). Fixes #22305 Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
ceebb712