mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Fix compilation issue with indexing QByteArray by sptr_t
This commit is contained in:
@@ -1017,8 +1017,8 @@ void PythonShell::startAutocomplete()
|
||||
sptr_t start;
|
||||
for(start = end; start >= 0; start--)
|
||||
{
|
||||
if(QChar::fromLatin1(lineText[start]).isLetterOrNumber() || lineText[start] == '.' ||
|
||||
lineText[start] == '_')
|
||||
char c = lineText[(int)start];
|
||||
if(QChar::fromLatin1(c).isLetterOrNumber() || c == '.' || c == '_')
|
||||
continue;
|
||||
|
||||
start++;
|
||||
|
||||
Reference in New Issue
Block a user