Skip to content
  • Michael Jansen's avatar
    Fix crash when browsing bluetooth device. · 90c7fd40
    Michael Jansen authored
    When trying to browse a N900 it crashed here because pathA was empty. Which
    lead to index = maxIndex beeing -1 and pathA.at(index) crashing.
    
    Reorder the while condition to prevent that courtesy of tsdgeos.
    
    (cherry picked from commit f0c90a47)
    90c7fd40