Skip to content

Commit

Permalink
Backport r25188. Change submitted by Lutz Mändle
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.mythtv.org/svn/branches/release-0-23-fixes@25189 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information
jyavenard committed Jun 28, 2010
1 parent 91b3528 commit 4309079
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/libs/libmythui/util-nvctrl.cpp
Expand Up @@ -347,6 +347,8 @@ static void parse_mode_string(char *modeString, char **modeName, int *mask)
* find the modename; stop at the last ' @' (would be easier with regex)
*/

s_end = strchr(modeString, '\0');

for (char *s = modeString; *s; s++)
{
if (*s == ' ' && *(s+1) == '@')
Expand Down

0 comments on commit 4309079

Please sign in to comment.