mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Fixing GCC warnings 3
This commit is contained in:
parent
2d32c80b75
commit
d9c9de8eee
15 changed files with 68 additions and 61 deletions
|
@ -989,7 +989,7 @@ wxString UnsavedChangesDialog::get_short_string(wxString full_string)
|
|||
{
|
||||
int max_len = 30;
|
||||
if (full_string.IsEmpty() || full_string.StartsWith("#") ||
|
||||
(full_string.Find("\n") == wxNOT_FOUND && full_string.Length() < max_len))
|
||||
(full_string.Find("\n") == wxNOT_FOUND && full_string.Length() < size_t(max_len)))
|
||||
return full_string;
|
||||
|
||||
m_has_long_strings = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue