mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-02 13:55:39 +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) {
|
protected String getAttributeValueFrom(Text text) {
|
||||||
String content = text.getText().trim();
|
String content = text.getText().trim();
|
||||||
|
content = content.replaceAll("\r\n", "\n"); // bug #131513 - eliminate Windows \r line delimiter
|
||||||
if (content.length() > 0) {
|
if (content.length() > 0) {
|
||||||
return content;
|
return content;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue