diff --git a/doc/img/Spectrum_Display_Settings.png b/doc/img/Spectrum_Display_Settings.png
index 5bfe641d6..8db22ccce 100644
Binary files a/doc/img/Spectrum_Display_Settings.png and b/doc/img/Spectrum_Display_Settings.png differ
diff --git a/sdrbase/dsp/nco.cpp b/sdrbase/dsp/nco.cpp
index 68c1e3e9f..d148b7f17 100644
--- a/sdrbase/dsp/nco.cpp
+++ b/sdrbase/dsp/nco.cpp
@@ -27,11 +27,13 @@ bool NCO::m_tableInitialized = false;
void NCO::initTable()
{
- if(m_tableInitialized)
+ if (m_tableInitialized) {
return;
+ }
- for(int i = 0; i < TableSize; i++)
+ for (unsigned i = 0; i < TableSize; i++) {
m_table[i] = cos((2.0 * M_PI * i) / TableSize);
+ }
m_tableInitialized = true;
}
diff --git a/sdrgui/gui/spectrum.md b/sdrgui/gui/spectrum.md
index e1f91452f..ddd30179a 100644
--- a/sdrgui/gui/spectrum.md
+++ b/sdrgui/gui/spectrum.md
@@ -96,7 +96,9 @@ When the mouse is inside the time scale (waterfall) the overlap is increased by
B. Spectrum controls
-Controls are organized in 7 blocks arranged in a flow layout so that the size of the control area can adapt to the width of the spectrum arranging the blocks from 4 to 1 line as the spectrum widens. The buttons and various controls in each block remain at the same place.
+Not all controls are visible by default. See B.7.8 for how to select which controls are visible.
+
+Controls are organized in 7 blocks arranged in a flow layout so that the size of the control area can adapt to the width of the spectrum arranging the blocks from 5 to 1 line as the spectrum widens. The buttons and various controls in each block remain at the same place.
Narrow (5 lines):
@@ -106,8 +108,6 @@ Wide (1 line):

-Not all controls are visible by default. See B.7.8 for how to select which controls are visible.
-
The 7 blocks are detailed next:

@@ -511,6 +511,12 @@ When checked, the power and frequency of the FFT bin under the cursor will be di
When checked, the power and frequency of the highest peak will be displayed in the status line.
+Spectrum
+
+Colour
+
+Specifies the color to draw the spectrum when line (B.2.1) or fill (B.2.2) style is selected.
+
Spectrum Memories
Memory