From badba034959aac829ade1b9994100a01b655afe2 Mon Sep 17 00:00:00 2001 From: "jake%acutex.net" Date: Mon, 15 Oct 2001 19:12:46 +0000 Subject: [PATCH] The recommended style for perl (which is the styleguide Bugzilla will use) specifies that else should not be cuddled. This guide, while not specifically saying it, elluded to cuddling else. Fixing that problem. git-svn-id: svn://10.0.0.236/trunk@105422 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/docs/sgml/patches.sgml | 3 ++- mozilla/webtools/bugzilla/docs/xml/patches.xml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/docs/sgml/patches.sgml b/mozilla/webtools/bugzilla/docs/sgml/patches.sgml index 3f49255f275..f5a9ebdfae4 100644 --- a/mozilla/webtools/bugzilla/docs/sgml/patches.sgml +++ b/mozilla/webtools/bugzilla/docs/sgml/patches.sgml @@ -296,7 +296,8 @@ to reformat the entire file :). if ($var) { print "The variable is true"; - } else { + } + else { print "Try again"; } diff --git a/mozilla/webtools/bugzilla/docs/xml/patches.xml b/mozilla/webtools/bugzilla/docs/xml/patches.xml index 3f49255f275..f5a9ebdfae4 100644 --- a/mozilla/webtools/bugzilla/docs/xml/patches.xml +++ b/mozilla/webtools/bugzilla/docs/xml/patches.xml @@ -296,7 +296,8 @@ to reformat the entire file :). if ($var) { print "The variable is true"; - } else { + } + else { print "Try again"; }