Backported fixes

This commit is contained in:
Arnaud Diederen
2020-01-13 09:23:59 +01:00
parent bf7a817c1d
commit 3ba7253294
6 changed files with 125 additions and 8 deletions
+1 -1
View File
@@ -5106,7 +5106,7 @@ def SetType(ea, newtype):
@return: 1-ok, 0-failed.
"""
if newtype is not '':
if newtype != '':
pt = parse_decl(newtype, PT_SIL)
if pt is None:
# parsing failed