Project

General

Profile

Feature #158 » simple-replace-space.patch

Very simple patch to always replace ' ' with '-' - Fredrik Tuomas -, 2010-03-10 13:05

View differences:

src/dvr/dvr_rec.c (working copy)
147 147
  int i, len = strlen(s);
148 148
  for(i = 0; i < len; i++) 
149 149
    if(s[i] == '/' || s[i] == ':' || s[i] == '\\' || s[i] == '<' ||
150
       s[i] == '>' || s[i] == '|' || s[i] == '*' || s[i] == '?')
150
       s[i] == '>' || s[i] == '|' || s[i] == '*' || s[i] == '?' || s[i] == ' ')
151 151
      s[i] = '-';
152 152
}
153 153

  
(1-1/3)