summaryrefslogtreecommitdiff
path: root/ci.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-10-02 15:06:07 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-10-02 15:06:07 +0200
commit1728fccfe27ab7c9a789fbfbe0ecae5d3d8920dd (patch)
tree1754f196e341d3097ee6fb70357bb2b24ace6e7b /ci.c
parent2cc029066b3af90d560ae5d549d0faba76acc77f (diff)
downloadvdr-1728fccfe27ab7c9a789fbfbe0ecae5d3d8920dd.tar.gz
vdr-1728fccfe27ab7c9a789fbfbe0ecae5d3d8920dd.tar.bz2
Skipping blanks at the beginning of CAM menu strings
Diffstat (limited to 'ci.c')
-rw-r--r--ci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci.c b/ci.c
index f17a04b5..1e8b6a2a 100644
--- a/ci.c
+++ b/ci.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: ci.c 1.32 2005/10/02 14:10:51 kls Exp $
+ * $Id: ci.c 1.33 2005/10/02 15:06:07 kls Exp $
*/
#include "ci.h"
@@ -94,7 +94,7 @@ static char *CopyString(int Length, const uint8_t *Data)
{
// Some CAMs send funny characters at the beginning of strings.
// Let's just skip them:
- while (Length > 0 && (*Data == 0x05 || *Data == 0x96 || *Data == 0x97)) {
+ while (Length > 0 && (*Data == ' ' || *Data == 0x05 || *Data == 0x96 || *Data == 0x97)) {
Length--;
Data++;
}