12 lines
612 B
Diff
12 lines
612 B
Diff
|
--- 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;
|