mirror of
https://git.freebsd.org/ports.git
synced 2025-06-30 00:50:29 -04:00
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)
11 lines
347 B
C++
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 ;
|