Fix formatting

This commit is contained in:
Fredrik
2022-03-21 09:39:34 +01:00
committed by GitHub
parent 244daa8282
commit 7fdb7cbfb7
+4 -4
View File
@@ -55,14 +55,14 @@ endlegend
!function $getContainer($label, $techn, $descr, $sprite)
!$container = ""
!if ($sprite != "")
!$container = $container + $getSprite($sprite)+'\n'
!$container = $container + $getSprite($sprite) + '\n'
!endif
!$container = $container + '=='+$label
!$container = $container + '==' + $label
!if ($techn != "")
!$container = $container + '\n//<size:'+$TECHN_FONT_SIZE+'>['+$techn+']</size>//'
!$container = $container + '\n//<size:' + $TECHN_FONT_SIZE + '>[' + $techn + ']</size>//'
!endif
!if ($descr != "")
!$container = $container + '\n\n '+$descr
!$container = $container + '\n\n' + $descr
!endif
!return $container
!endfunction