mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 18:05:54 +08:00
MsgDialog: get_wraped_wxString(): Fixed a bug in case, when string is break on slash
This commit is contained in:
parent
ea84a46cdc
commit
de8ba0e850
@ -319,6 +319,7 @@ wxString get_wraped_wxString(const wxString& text_in, size_t line_len /*=80*/)
|
||||
if (cur_len >= line_len && idx >= 0) {
|
||||
if (text[idx] == slash) {
|
||||
text.insert(static_cast<size_t>(idx) + 1, 1, new_line);
|
||||
idx++;
|
||||
text_len++;
|
||||
}
|
||||
else // space
|
||||
|
Loading…
x
Reference in New Issue
Block a user