Skip to content
Snippets Groups Projects
Commit 99afee18 authored by Arseny Kapoulkine's avatar Arseny Kapoulkine
Browse files

Move zero-termination out of as_utf8_end

as_utf8_end was used with std::string, where writing an extra zero-terminating
character should *probably* always work (at least if size is positive) but is
not ideal.

The only place that needed to zero-terminate was convert_path_heap.
parent 3da7d686
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment