summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2003-05-05 09:55:59 +0000
committerAlexander Larsson <alexl@src.gnome.org>2003-05-05 09:55:59 +0000
commit039cc3aaff6aaa3146b109134eccb79bde000693 (patch)
tree54f99d6a9445b249a0c050d961d60b5fa87849c8 /docs
parentb503e4fe8f0e40b964a68c0c57a97cd44998aaee (diff)
downloadnautilus-039cc3aaff6aaa3146b109134eccb79bde000693.tar.gz
Make Go to CD burner a command
2003-05-05 Alexander Larsson <alexl@redhat.com> * src/nautilus-shell-ui.xml: Make Go to CD burner a command * src/nautilus-window-menus.c (nautilus_window_initialize_menus_part_1): Hide Go to CD burner if burn: not availible. * docs/style-guide.html: Clarify the change. We still have to declare variables at the beginning of a block.
Diffstat (limited to 'docs')
-rw-r--r--docs/style-guide.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/style-guide.html b/docs/style-guide.html
index 2e2dfd0af..7126a22e2 100644
--- a/docs/style-guide.html
+++ b/docs/style-guide.html
@@ -65,6 +65,10 @@ to be a problem.</p>
is usually to use a while loop. It's true that
"easy to read" is a subjective thing.</p>
+<p><b>We declare local variables at the beginning of a block.</b> C99 allows you
+to declare variables anywhere in a function, but a lot of compilers still do not
+support C99.</p>
+
<p><b>We do not initialize local variables in their declarations.</b> C allows you
to initialize a local variable when declaring it. But no other code can run before
this, because the other statements in a function must be after all the declarations.