opnsense-ports/graphics/pfstools/files/patch-src_pfsglview_m__histogram.cpp
Franco Fichtner 701eecd119 */*: sync with upstream
Taken from: HardenedBSD
2018-03-20 11:09:32 +01:00

11 lines
347 B
C++

--- src/pfsglview/m_histogram.cpp.orig 2018-01-19 06:59:44 UTC
+++ src/pfsglview/m_histogram.cpp
@@ -176,7 +176,7 @@ void M_Histogram::drawHistogram() {
int array_pos ;
int ch = 0 ;
- if(!strcmp(channel, "XYZ") == 0)
+ if(!(strcmp(channel, "XYZ") == 0))
switch(channel[0]) {
case 'X': ch = 1 ; break ;
case 'Y': ch = 2 ; break ;