projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56c42c8
)
bsod.cpp: skip path prefix up to /usr
author
ghost
<andreas.monzner@multimedia-labs.de>
Tue, 28 Apr 2009 10:41:10 +0000
(12:41 +0200)
committer
ghost
<andreas.monzner@multimedia-labs.de>
Tue, 28 Apr 2009 10:41:10 +0000
(12:41 +0200)
main/bsod.cpp
patch
|
blob
|
history
diff --git
a/main/bsod.cpp
b/main/bsod.cpp
index
017f910
..
aeb31c4
100644
(file)
--- 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;