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:
Robert Loehning
2012-05-29 18:12:47 +02:00
committed by hjk
parent 94ab29519b
commit 7d96a3218e

View File

@@ -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: