mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 20:35:38 +02:00
Fixing bug #131513 - Apply does not work for multiline program arguments
This commit is contained in:
parent
cf99e3b36d
commit
305b4787c5
1 changed files with 1 additions and 0 deletions
|
@ -201,6 +201,7 @@ public class CArgumentsTab extends CLaunchConfigurationTab {
|
|||
*/
|
||||
protected String getAttributeValueFrom(Text text) {
|
||||
String content = text.getText().trim();
|
||||
content = content.replaceAll("\r\n", "\n"); // bug #131513 - eliminate Windows \r line delimiter
|
||||
if (content.length() > 0) {
|
||||
return content;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue