From 8382d3e4f17ff68684331c7f059529fcd32a5485 Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 7 Aug 2019 15:18:08 +0100 Subject: [PATCH] Fix check for legacy adb devices --- qrenderdoc/Code/Interface/PersistantConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrenderdoc/Code/Interface/PersistantConfig.cpp b/qrenderdoc/Code/Interface/PersistantConfig.cpp index 7bee7649a..fbcfb8ee7 100644 --- a/qrenderdoc/Code/Interface/PersistantConfig.cpp +++ b/qrenderdoc/Code/Interface/PersistantConfig.cpp @@ -377,7 +377,7 @@ bool PersistantConfig::Load(const rdcstr &filename) continue; // backwards compatibility - skip old adb hosts that were adb: - if(host.Hostname().find("adb:") > 0 && host.Protocol() == NULL) + if(host.Hostname().find("adb:") >= 0 && host.Protocol() == NULL) continue; RemoteHostList.push_back(host);