Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNorbert Plött2006-03-13 12:46:37 +0000
committerNorbert Plött2006-03-13 12:46:37 +0000
commit305b4787c59357dae872e4eb805a518c83160bca (patch)
tree13c17e03f28b8dc711e81fc90d3139b7a8b4c448 /launch/org.eclipse.cdt.launch
parentcf99e3b36dc540121bcb814ece8c6912f3fef7d1 (diff)
downloadorg.eclipse.cdt-305b4787c59357dae872e4eb805a518c83160bca.tar.gz
org.eclipse.cdt-305b4787c59357dae872e4eb805a518c83160bca.tar.xz
org.eclipse.cdt-305b4787c59357dae872e4eb805a518c83160bca.zip
Fixing bug #131513 - Apply does not work for multiline program arguments
Diffstat (limited to 'launch/org.eclipse.cdt.launch')
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CArgumentsTab.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CArgumentsTab.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CArgumentsTab.java
index ef59c04f80d..acb32060567 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CArgumentsTab.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CArgumentsTab.java
@@ -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;
}

Back to the top