Skip to content
This repository
Browse code

StringUtils::FindWords fix dead loop.

  • Loading branch information...
commit 1e5d6e9d0b0a59b8926daa8bf87f7ac4e7d97754 1 parent d7a44da
ulion authored April 15, 2013 S. Davilla committed April 16, 2013

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  xbmc/utils/StringUtils.cpp
2  xbmc/utils/StringUtils.cpp
@@ -586,6 +586,8 @@ size_t StringUtils::FindWords(const char *str, const char *wordLowerCase)
586 586
       s += l;
587 587
       while ((l = IsUTF8Letter(s)) > 0) s += l;
588 588
     }
  589
+    else
  590
+      ++s;
589 591
     while (*s && *s == ' ') s++;
590 592
 
591 593
     // and repeat until we're done

0 notes on commit 1e5d6e9

Please sign in to comment.
Something went wrong with that request. Please try again.