Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a38ae5f
)
compiler/libec: Fixed crash overriding OnRedraw() in a WindowController
author
Jerome St-Louis
<jerome@ecere.com>
Sun, 10 Apr 2016 07:48:58 +0000
(
03:48
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Sat, 11 Jun 2016 07:06:38 +0000
(
03:06
-0400)
compiler/libec/src/pass1.ec
patch
|
blob
|
history
diff --git
a/compiler/libec/src/pass1.ec
b/compiler/libec/src/pass1.ec
index
7c0f957
..
1a18f44
100644
(file)
--- a/
compiler/libec/src/pass1.ec
+++ b/
compiler/libec/src/pass1.ec
@@
-115,7
+115,7
@@
External ProcessClassFunction(Class owningClass, ClassFunction func, OldList def
type.byReference = method.dataType.byReference;
methodDataType = ProcessTypeString(method.dataTypeString, false);
- type.thisClass = methodDataType.thisClass =
arg
? FindClass(arg->dataTypeString) : null;
+ type.thisClass = methodDataType.thisClass =
(arg && arg->dataTypeString)
? FindClass(arg->dataTypeString) : null;
}
}
else if(method.dataType.staticMethod)