Skip to content

Commit 038113e

Browse files
committed
kj
1 parent 00de12d commit 038113e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/includes/functions.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ void stringToRatBoundedArray(std::string value, char_T result_data[], int32_T re
108108
for (int32_T idx1{0}; idx1 < value.length(); idx1++) {
109109
result_data[idx1] = value[idx1];
110110
}
111+
result_data[value.length()] = "\0";
111112
}
112113

113114
void stringToRatCharArray(std::string value, coder::array<char_T, 2U>& result)

0 commit comments

Comments
 (0)