summaryrefslogtreecommitdiffstats
path: root/libhb/preset.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/preset.c')
-rw-r--r--libhb/preset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/preset.c b/libhb/preset.c
index e2dc02057..5a628e04d 100644
--- a/libhb/preset.c
+++ b/libhb/preset.c
@@ -3701,7 +3701,7 @@ int hb_preset_move(const hb_preset_index_t *src_path,
int src_index, dst_index;
src_index = src_path->index[src_path->depth-1];
- dst_index = dst_path->index[src_path->depth-1];
+ dst_index = dst_path->index[dst_path->depth-1];
dict = hb_value_array_get(src_folder, src_index);
hb_value_incref(dict);
hb_value_array_remove(src_folder, src_index);