changeset 12776:944cf42c699e stable

doc: small documentation fixes for strftime, betainc betainc.cc: Place variable x inside @var macro strftime.cc: Place '%' escape character before '%','n','t' commands.
author Rik <octave@nomad.inbox5.com>
date Wed, 29 Jun 2011 21:07:46 -0700
parents d02c9a58bae1
children 4e70c4e61c24
files src/DLD-FUNCTIONS/betainc.cc src/DLD-FUNCTIONS/time.cc
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/betainc.cc
+++ b/src/DLD-FUNCTIONS/betainc.cc
@@ -57,7 +57,7 @@
 \n\
 @end ifnottex\n\
 \n\
-If x has more than one component, both @var{a} and @var{b} must be\n\
+If @var{x} has more than one component, both @var{a} and @var{b} must be\n\
 scalars.  If @var{x} is a scalar, @var{a} and @var{b} must be of\n\
 compatible dimensions.\n\
 @end deftypefn")
--- a/src/DLD-FUNCTIONS/time.cc
+++ b/src/DLD-FUNCTIONS/time.cc
@@ -340,13 +340,13 @@
 Literal character fields:\n\
 \n\
 @table @code\n\
-@item %\n\
+@item %%\n\
 % character.\n\
 \n\
-@item n\n\
+@item %n\n\
 Newline character.\n\
 \n\
-@item t\n\
+@item %t\n\
 Tab character.\n\
 @end table\n\
 \n\