Skip to content

Commit 67c6eb2

Browse files
author
John Haley
committed
Fix git_strarray when an actual array is passed in
1 parent e954ae5 commit 67c6eb2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

generate/templates/manual/src/str_array_converter.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ git_strarray *StrArrayConverter::ConvertArray(Array *val) {
3030
git_strarray *result;
3131

3232
for(int i = 0; i < count; i++) {
33-
NanUtf8String entry(val->CloneElementAt(i));
33+
NanUtf8String entry(val->Get(i));
3434
strings[i] = *entry;
3535
}
3636

0 commit comments

Comments
 (0)