diff options
author | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2005-05-15 11:25:52 +0000 |
---|---|---|
committer | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2005-05-15 11:25:52 +0000 |
commit | 06dbb3f13039614f2e33224abf06a968477fa705 (patch) | |
tree | 690d0765dbaf92bd8025ec434eb44529ce6ebd45 | |
parent | 0fdb529e66d83593d71db55d68cac84ed5ccf4b3 (diff) |
When creating a new thorn, fill in the thorn name as default title for
the thorn guide.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4048 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rwxr-xr-x | lib/make/new_thorn.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/make/new_thorn.pl b/lib/make/new_thorn.pl index 6866569e..bc44fe1b 100755 --- a/lib/make/new_thorn.pl +++ b/lib/make/new_thorn.pl @@ -159,6 +159,8 @@ while (<IN>) { } else { print OUT $_; } + } elsif (/^\\title\{\s*?\}/) { + print OUT "\\title\{$thorn_name\}\n"; } else { print OUT $_; } |