forked from qt-creator/qt-creator
debugger: Fixed syntax error
Found by Squish test suite_debugger/tst_cli_output_console Change-Id: I3d4bf97f9971e44ac39bc262d17da0641a99af19 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -700,7 +700,7 @@ def encodeCharArray(p, maxsize = None, limit = None):
|
||||
maxsize = qqStringCutOff
|
||||
t = lookupType("unsigned char").pointer()
|
||||
p = p.cast(t)
|
||||
if limit is None
|
||||
if limit is None:
|
||||
limit = findFirstZero(p, maxsize)
|
||||
s = ""
|
||||
try:
|
||||
|
Reference in New Issue
Block a user