fix typo
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 14 Oct 2008 11:10:36 +0000 (11:10 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 14 Oct 2008 11:10:36 +0000 (11:10 +0000)
lib/dvb/sec.cpp

index f7933d18eccf96fe19e48cf365a19ba5491c31cc..c1caa3801f596f33e3b2d918751ee90c1d21327b 100644 (file)
@@ -283,7 +283,7 @@ int eDVBSatelliteEquipmentControl::canTune(const eDVBFrontendParametersSatellite
                                                eSecDebugNoSimulate("ret5 %d", ret);
                                        }
 
                                                eSecDebugNoSimulate("ret5 %d", ret);
                                        }
 
-                               if (ret && rotor && curRotorPos != -1 && (direct_connected || !satpos_depends_ptr) )  // direct conntected or loopthrough!
+                               if (ret && rotor && curRotorPos != -1 && (direct_connected || satpos_depends_ptr == -1) )  // direct conntected or loopthrough!
                                        ret -= abs(curRotorPos-sat.orbital_position);
 
                                eSecDebugNoSimulate("ret6 %d", ret);
                                        ret -= abs(curRotorPos-sat.orbital_position);
 
                                eSecDebugNoSimulate("ret6 %d", ret);