HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/graphics/pfstools/files/patch-src_pfsglview_m__histogram.cpp
--- 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 ;