[mythtv] [PATCH] segfault in proglist
John Patrick Poet
john at BlueSkyTours.com
Sat Jul 17 20:50:07 EDT 2004
Sometimes when doing:
[TV] -> [Watch Recordings] -> [Edit Recording Schedule] -> [List
upcoming episodes]
mythfrontend would segfault. I finally took the time to track it down.
The attached patch fixes the problem (for me).
John
-------------- next part --------------
Index: libs/libmythtv/proglist.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/proglist.cpp,v
retrieving revision 1.36
diff -u -d -r1.36 proglist.cpp
--- libs/libmythtv/proglist.cpp 27 Jun 2004 19:25:20 -0000 1.36
+++ libs/libmythtv/proglist.cpp 18 Jul 2004 00:46:13 -0000
@@ -707,10 +707,12 @@
}
else if (type == plTitle)
{
- viewList << view;
- viewTextList << view;
if (view != "")
+ {
+ viewList << view;
+ viewTextList << view;
curView = 0;
+ }
else
curView = -1;
}
More information about the mythtv-dev
mailing list