Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-updates-src > by-pkgid > 788e37780584364cdb6f68cbf9e83464 > files > 1

pfstools-1.8.5-1.1.mga5.src.rpm

--- pfstools-1.7.0/src/pfsglview/picture_io.cpp-d	2009-05-10 02:08:04.185662227 -0700
+++ pfstools-1.7.0/src/pfsglview/picture_io.cpp	2009-05-10 02:09:51.029678179 -0700
@@ -87,7 +87,7 @@ void PictureIO::setFrame(pfs::Frame *fra
 		return;
 
 	// only XYZ channels are taken into consideration
-	if( channel != "XYZ" &&  channel != "X00" && channel != "0Y0" && channel != "00Z" ) {
+	if(strcmp(channel, "XYZ") != 0 && strcmp(channel, "X00") != 0 && strcmp(channel, "0Y0") != 0 && strcmp(channel, "00Z") != 0 ) {
 		if(verbose)
 			fprintf( stderr, "WARNING: wrong channel (PictureIO::setFrame())\n");
 		return;