Clean up whitespace.

This commit is contained in:
andrey
2001-10-26 14:15:30 +00:00
parent e5f8cb1e5a
commit 7bb141a0ce
2 changed files with 48 additions and 48 deletions

View File

@@ -164,8 +164,8 @@ class Smarty_Compiler extends Smarty {
$template_compiled = $template_header.$template_compiled; $template_compiled = $template_header.$template_compiled;
// remove \n from the end of the file, if any // remove \n from the end of the file, if any
if ( $template_compiled{strlen($template_compiled)-1} == "\n" ) { if ($template_compiled{strlen($template_compiled) - 1} == "\n" ) {
$template_compiled = substr($template_compiled,0,-1); $template_compiled = substr($template_compiled, 0, -1);
} }
// run compiled template through postfilter functions // run compiled template through postfilter functions

View File

@@ -164,8 +164,8 @@ class Smarty_Compiler extends Smarty {
$template_compiled = $template_header.$template_compiled; $template_compiled = $template_header.$template_compiled;
// remove \n from the end of the file, if any // remove \n from the end of the file, if any
if ( $template_compiled{strlen($template_compiled)-1} == "\n" ) { if ($template_compiled{strlen($template_compiled) - 1} == "\n" ) {
$template_compiled = substr($template_compiled,0,-1); $template_compiled = substr($template_compiled, 0, -1);
} }
// run compiled template through postfilter functions // run compiled template through postfilter functions