ports/graphics/pfstools/files/patch-src_pfsglview_m__histogram.cpp
Yuri Victorovich 54975cd08c graphics/pfstools: Update to 2.1.0
Port changes:
* Change to DISTVERSION
* Add LICENSE_FILE
* Change to cmake (from gmake)
* Update of all options accordingly

PR:		225537
Submitted by:	Iouri V. Ivliev <fbsd@any.com.ru> (maintainer)
2018-03-20 06:33:01 +00: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 ;