summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2017-08-11 03:09:50 +0000
committerChris Johns <chrisj@rtems.org>2017-08-11 13:45:52 +1000
commitefc29ff31bb604175c48d3ec092e2649eab0f4bd (patch)
tree0cf28c23ae1c5dcfc3b489827c481d82134b132c /common
parentc68461134ea5bfe6859ca6c49055252ef978b860 (diff)
downloadrtems-docs-efc29ff31bb604175c48d3ec092e2649eab0f4bd.tar.bz2
Update copyright notices.
Diffstat (limited to 'common')
-rw-r--r--common/rtemsstyle.sty4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rtemsstyle.sty b/common/rtemsstyle.sty
index 8f963c4..96313f1 100644
--- a/common/rtemsstyle.sty
+++ b/common/rtemsstyle.sty
@@ -61,10 +61,10 @@ gobble=0,
\fancypagestyle{normal}{
\fancyhf{}
\fancyfoot[LE,RO]{{\thepage}}
- \fancyfoot[LO]{{\nouppercase{\rightmark}}}
+ \fancyfoot[LO]{{\ifnum\value{chapter}>0{\nouppercase{\rightmark}}\fi}}
\fancyfoot[RE]{{\nouppercase{\leftmark}}}
\fancyhead[LE,RO]{{\@title, \py@release}}
- \fancyhead[RE,LO]{{\chaptername\:\thechapter\:Section\:\thesection}}
+ \fancyhead[RE,LO]{{\ifnum\value{chapter}>0{\chaptername\:\thechapter\:Section\:\thesection}\fi}}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
}