summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/metapost/metauml/metauml_component.mp
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/metapost/metauml/metauml_component.mp')
-rw-r--r--Master/texmf-dist/metapost/metauml/metauml_component.mp22
1 files changed, 4 insertions, 18 deletions
diff --git a/Master/texmf-dist/metapost/metauml/metauml_component.mp b/Master/texmf-dist/metapost/metauml/metauml_component.mp
index d0d531d872c..c124f771108 100644
--- a/Master/texmf-dist/metapost/metauml/metauml_component.mp
+++ b/Master/texmf-dist/metapost/metauml/metauml_component.mp
@@ -1,19 +1,5 @@
-% MetaUML, a MetaPost library for typesetting exquisite UML diagrams.
-% Copyright (C) 2006 Radu-George Radulescu, Ovidiu Gheorghies
-%
-% This program is free software; you can redistribute it and/or
-% modify it under the terms of the GNU General Public License
-% as published by the Free Software Foundation; either version 2
-% of the License, or (at your option) any later version.
-%
-% This program is distributed in the hope that it will be useful,
-% but WITHOUT ANY WARRANTY; without even the implied warranty of
-% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-% GNU General Public License for more details.
-%
-% You should have received a copy of the GNU General Public License
-% along with this program; if not, write to the Free Software
-% Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+% Copyright 2006 2015 Radu-George Radulescu, Ovidiu Gheorghies
+% Licensed under the Apache License, Version 2.0.
if known _metauml_component_mp:
expandafter endinput
@@ -108,10 +94,10 @@ vardef EComponent@#(text _info)(text contents)(text _subItems)=
enddef;
vardef Component_layout@#=
- if @#layedout = 1:
+ if @#laidout = 1:
log "Component '" & (str @#) & "' has already been layed out";
else:
- @#layedout := 1;
+ @#laidout := 1;
log "Component layout: '" & (str @#) & "'";
log "Component name layout '" & (str @#) & "'...";