summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-10-16 04:12:46 +0200
committerjake%acutex.net <>2001-10-16 04:12:46 +0200
commit02fc8c76dca81000971f91d442cfabb3dea7fda6 (patch)
tree1b7c3d1b2bc5e9f0031b27ef152dc40d856cea3d
parentefd3bd5d19a39380e2bfe35e03080289d9b38eb1 (diff)
downloadbugzilla-02fc8c76dca81000971f91d442cfabb3dea7fda6.tar.gz
bugzilla-02fc8c76dca81000971f91d442cfabb3dea7fda6.tar.xz
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.
-rw-r--r--docs/sgml/patches.sgml3
-rw-r--r--docs/xml/patches.xml3
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/sgml/patches.sgml b/docs/sgml/patches.sgml
index 3f49255f2..f5a9ebdfa 100644
--- a/docs/sgml/patches.sgml
+++ b/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/docs/xml/patches.xml b/docs/xml/patches.xml
index 3f49255f2..f5a9ebdfa 100644
--- a/docs/xml/patches.xml
+++ b/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";
}