Skip to content

Commit

Permalink
Merge pull request ddnet#9304 from Robyt3/Lineinput-Clipboard-Sanitize
Browse files Browse the repository at this point in the history
Fix clipboard not being sanitized when pasting multiple lines
  • Loading branch information
def- authored Nov 30, 2024
2 parents 3277223 + c77415e commit 7cce8c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game/client/lineinput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ bool CLineInput::ProcessInput(const IInput::CEvent &Event)
Line = GetString();
}
Begin = i + 1;
str_sanitize_cc(Line.data());
m_pfnClipboardLineCallback(Line.c_str());
}
}
Expand Down

0 comments on commit 7cce8c4

Please sign in to comment.