Fix a missing tag on global tags merge (oops)
This commit is contained in:
parent
915bb5989e
commit
ffd3d739db
@ -600,7 +600,8 @@ gboolean tm_tags_merge(GPtrArray *tags_array, gsize orig_len,
|
||||
tags_array->pdata[i] = (cmp >= 0) ? *a-- : *b--;
|
||||
if (a < tags_array->pdata)
|
||||
{
|
||||
memcpy(tags_array->pdata, copy, (b - copy) * sizeof(gpointer));
|
||||
/* include remainder of copy as well as current value of b */
|
||||
memcpy(tags_array->pdata, copy, ((b + 1) - copy) * sizeof(gpointer));
|
||||
break;
|
||||
}
|
||||
if (b < copy)
|
||||
|
Loading…
x
Reference in New Issue
Block a user