summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2016-11-21 18:11:27 +0100
committerLubomir Rintel <lkundrak@v3.sk>2016-11-21 18:34:50 +0100
commit6143e71464254f6b866440744b45d985df36c472 (patch)
treec86f09fca538e96d93f9ffcb25dad24d3cea6fb5
parent612351471cdc66e9b9d5f108f1c05273527a297b (diff)
downloadNetworkManager-6143e71464254f6b866440744b45d985df36c472.tar.gz
libnm/generate-plugin-docs: don't replace newlines with spaces
That serves no purpose whatsoever.
-rwxr-xr-xlibnm/generate-plugin-docs.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm/generate-plugin-docs.pl b/libnm/generate-plugin-docs.pl
index 1d894bc481..405c6e1164 100755
--- a/libnm/generate-plugin-docs.pl
+++ b/libnm/generate-plugin-docs.pl
@@ -133,7 +133,7 @@ sub process_data {
$parsed_data{$this_key} = "$2\n";
} elsif (/^\s*\**\s+(.*?)\s*$/) {
die "Extra mess in a comment: $_" unless $this_key;
- $parsed_data{$this_key} .= $1 ? "$1\n" : " ";
+ $parsed_data{$this_key} .= "$1\n";
}
}