diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-10-02 15:06:07 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-10-02 15:06:07 +0200 |
commit | 1728fccfe27ab7c9a789fbfbe0ecae5d3d8920dd (patch) | |
tree | 1754f196e341d3097ee6fb70357bb2b24ace6e7b | |
parent | 2cc029066b3af90d560ae5d549d0faba76acc77f (diff) | |
download | vdr-1728fccfe27ab7c9a789fbfbe0ecae5d3d8920dd.tar.gz vdr-1728fccfe27ab7c9a789fbfbe0ecae5d3d8920dd.tar.bz2 |
Skipping blanks at the beginning of CAM menu strings
-rw-r--r-- | ci.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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++; } |