summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2003-10-02 18:50:28 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2003-10-02 18:50:28 +0000
commite6744a44b2327ffc3f7dfa5ede97f537e058662b (patch)
treecac526922e2235accfb60fa45b4bedfd4fa1b105
parented54d03a85316b07d84eafa6077142ce71454346 (diff)
downloadMPC-e6744a44b2327ffc3f7dfa5ede97f537e058662b.tar.gz
ChangeLogTag: Thu Oct 2 13:49:22 2003 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--modules/Creator.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/Creator.pm b/modules/Creator.pm
index bfbd783b..c3526711 100644
--- a/modules/Creator.pm
+++ b/modules/Creator.pm
@@ -566,8 +566,10 @@ sub fill_type_name {
$name =~ s/\*$/$post/;
$name =~ s/\*/$mid/g;
- ## Remove any trailing underscore
+ ## Remove any trailing underscore or any underscore that is followed
+ ## by a space. This value could be a space separated list.
$name =~ s/_$//;
+ $name =~ s/_\s/ /g;
## If any one word is capitalized then capitalize each word
if ($name =~ /[A-Z][0-9a-z_]+/) {