[gtk-doc] mkdb: avoid double '.' at the end of phrase.



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]