Minor code styling

This commit is contained in:
Thanatomanic
2018-06-28 19:07:20 +02:00
parent 08cad72be0
commit 32e2aa2e6c
2 changed files with 4 additions and 4 deletions

View File

@@ -416,7 +416,7 @@ void Options::setDefaults ()
histogramPosition = 1;
histogramBar = true;
histogramAspect = 0.618;
histogramDrawMode = 0;
histogramDrawMode = 0;
curvebboxpos = 1;
prevdemo = PD_Sidecar;
rgbDenoiseThreadLimit = 0;
@@ -1294,8 +1294,8 @@ void Options::readFromFile (Glib::ustring fname)
if (keyFile.has_key ("GUI", "HistogramAspect")) {
histogramAspect = keyFile.get_double ("GUI", "HistogramAspect");
}
if (keyFile.has_key ("GUI", "HistogramDrawMode")) {
if (keyFile.has_key ("GUI", "HistogramDrawMode")) {
histogramDrawMode = keyFile.get_integer ("GUI", "HistogramDrawMode");
}

View File

@@ -257,7 +257,7 @@ public:
//int histogramWorking; // 0=disabled, 1=left pane, 2=right pane
bool histogramBar;
float histogramAspect;
int histogramDrawMode;
int histogramDrawMode;
bool FileBrowserToolbarSingleRow;
bool hideTPVScrollbar;
bool UseIconNoText;