diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2009-05-10 14:04:45 +0200 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2009-05-10 14:04:45 +0200 |
| commit | 946fb003e4be2e1485308d7fc5bb7274732751a3 (patch) | |
| tree | 8cc44adc5dc7a7885632c410925e4e6d6c7d332d /main/bsod.cpp | |
| parent | a012dfc95def3f4043f5b0bb319f1f4073592543 (diff) | |
| parent | d245191dd27ad9884c33ad3a76992dc6c4e8f33b (diff) | |
| download | enigma2-946fb003e4be2e1485308d7fc5bb7274732751a3.tar.gz enigma2-946fb003e4be2e1485308d7fc5bb7274732751a3.zip | |
Merge branch 'master' of /home/tmbinc/enigma2-git
Diffstat (limited to 'main/bsod.cpp')
| -rw-r--r-- | main/bsod.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/bsod.cpp b/main/bsod.cpp index 017f910f..aeb31c47 100644 --- a/main/bsod.cpp +++ b/main/bsod.cpp @@ -93,9 +93,9 @@ void bsodFatal(const char *component) break; end = lines.rfind("/", end); /* skip a potential prefix to the path */ - unsigned int path_prefix = lines.find("/image/", start); - if (path_prefix != std::string::npos && ((path_prefix + 6) < end)) - start = path_prefix + 6; + unsigned int path_prefix = lines.find("/usr/", start); + if (path_prefix != std::string::npos && path_prefix < end) + start = path_prefix; if (end == std::string::npos) break; |
