[gtk-doc] mkdb: avoid double '.' at the end of phrase.
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] mkdb: avoid double '.' at the end of phrase.
- Date: Mon, 26 Apr 2010 13:00:48 +0000 (UTC)
commit 22e002ce0dee8982e7c469bbbf1429cd07710557
Author: Stefan Kost <ensonic users sf net>
Date: Mon Apr 26 16:00:11 2010 +0300
mkdb: avoid double '.' at the end of phrase.
gtkdoc-mkdb.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
index 3776594..1907526 100755
--- a/gtkdoc-mkdb.in
+++ b/gtkdoc-mkdb.in
@@ -2628,7 +2628,7 @@ sub ExpandAnnotation {
}
}
chomp($param_desc);
- $param_desc =~ m/^(.*)\.*\s*$/s;
+ $param_desc =~ m/^(.*?)\.*\s*$/s;
$param_desc = "$1. ";
}
if ($param_annotations ne "") {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]