All pastes #47430 Raw Edit

Miscellany

public text v1 · immutable
#47430 ·published 2006-03-29 11:31 UTC
rendered paste body
Index: libs/libmythtv/channelutil.cpp
===================================================================
--- libs/libmythtv/channelutil.cpp      (revision 9538)
+++ libs/libmythtv/channelutil.cpp      (working copy)
@@ -166,7 +166,8 @@

     if (set_odfm_info)
     {
-        query.bindValue(":INVERSION",      QString("%1").arg(inversion));
+        if (inversion < 0 || inversion > 1 || inversion == "a")
+            query.bindValue(":INVERSION",      QString("%1").arg(inversion));
         query.bindValue(":BANDWIDTH",      QString("%1").arg(bandwidth));
         query.bindValue(":HP_CODE_RATE",   hp_code_rate);
         query.bindValue(":LP_CODE_RATE",   lp_code_rate);