diff options
-rw-r--r-- | setupeepg.c | 1 | ||||
-rw-r--r-- | util.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/setupeepg.c b/setupeepg.c index 54f8243..38f5b90 100644 --- a/setupeepg.c +++ b/setupeepg.c @@ -13,6 +13,7 @@ cSetupEEPG* cSetupEEPG::_setupEEPG = NULL; cSetupEEPG::cSetupEEPG (void) +:ConfDir(NULL) { OptPat = 1; OrderInfo = 1; @@ -121,7 +121,7 @@ void CleanString (unsigned char *String) } Src++; } - if (Spaces > 0) { + if (Spaces > 0 && String > Dst) { Dst--; *Dst = 0; } else { |