Skip to content

Commit

Permalink
Fix infinite loop introduced with f3f0252
Browse files Browse the repository at this point in the history
If the template content didn't match the regex, it would loop indefinitely
  • Loading branch information
jyavenard committed Jul 17, 2013
1 parent aebad82 commit 01be22c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mythtv/libs/libmythui/mythuitext.cpp
Expand Up @@ -155,6 +155,7 @@ void MythUIText::ResetMap(const InfoMap &map)
replaced = true;
break;
}
pos += regexp.matchedLength();
}
}

Expand Down

0 comments on commit 01be22c

Please sign in to comment.