[mythtv] Re: [PATCH] Remove extra spaces in remoteencoder

David Engel dlengel at attbi.com
Mon Oct 27 23:40:37 EST 2003


On Mon, Oct 27, 2003 at 10:25:49PM -0600, David Engel wrote:
> There are a couple of places in remoteencoder.cpp where single-space
> strings aren't converted back to empty strings after network
> reception.  This patch fixes it.

Here's another patch for another place where single-space strings
might get returned instead of empty-strings.

David
-- 
David Engel
dlengel at attbi.com

Index: libs/libmythtv/tv_rec.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/tv_rec.cpp,v
retrieving revision 1.117
diff -u -r1.117 tv_rec.cpp
--- libs/libmythtv/tv_rec.cpp	26 Oct 2003 07:38:53 -0000	1.117
+++ libs/libmythtv/tv_rec.cpp	28 Oct 2003 04:21:04 -0000
@@ -919,16 +919,16 @@
                            QString &callsign, QString &iconpath, 
                            QString &channelname, QString &chanid)
 {
-    title = " ";
-    subtitle = " ";
-    desc = " ";
-    category = " ";
-    starttime = " ";
-    endtime = " ";
-    callsign = " ";
-    iconpath = " ";
-    channelname = " ";
-    chanid = " ";
+    title = "";
+    subtitle = "";
+    desc = "";
+    category = "";
+    starttime = "";
+    endtime = "";
+    callsign = "";
+    iconpath = "";
+    channelname = "";
+    chanid = "";
 
     if (!db_conn)
         return;


More information about the mythtv-dev mailing list