diff options
| author | Michael Jansen <[email protected]> | 2012-12-30 20:56:59 +0100 |
|---|---|---|
| committer | Michael Jansen <[email protected]> | 2013-01-03 17:14:30 +0100 |
| commit | fe1e3f240a09c18c721f78713e3c359666c42fed (patch) | |
| tree | ef346d58a3491b35bd69ea372cdb6737cfce992d /src/main.cpp | |
| parent | bf202f3931c804af1c03bd958a8e946bab8b4b52 (diff) | |
Fix crash when browsing bluetooth device.
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 f0c90a47de3f59e4a98932ae6f0499921d9aa899)
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions
