1
0
Fork 0
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:
Norbert Pltt 2006-03-13 12:46:37 +00:00
parent cf99e3b36d
commit 305b4787c5

View file

@ -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;
}