mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Fix a mistake check on string::find not comparing against string::npos
* Reported by Coverity Scan
This commit is contained in:
@@ -459,7 +459,7 @@ bool CheckDebuggable(const string &apk)
|
||||
|
||||
string badging = execCommand("aapt", "dump badging " + apk).strStdout;
|
||||
|
||||
if(badging.find("application-debuggable"))
|
||||
if(badging.find("application-debuggable") == string::npos)
|
||||
{
|
||||
RDCERR("APK is not debuggable");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user