Skip to content
Browse files

compiler/libec: Fixed mixed up name/full name loading global data

  • Loading branch information...
1 parent 1b8f2c6 commit 8fe866c70f5dba982fb62e211cbbd2b0d5584652 @jerstlouis jerstlouis committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 compiler/libec/src/loadSymbols.ec
View
2 compiler/libec/src/loadSymbols.ec
@@ -652,7 +652,7 @@ public bool LoadSymbols(char * fileName, ImportType importType, bool loadDllOnly
{
// TOFIX:
//if(!(data = (GlobalData)nameSpace->functions.FindString(name)))
- data = (GlobalData)nameSpace->functions.FindString(name);
+ data = (GlobalData)nameSpace->functions.FindString(name + start);
if(!data)
{
data = GlobalData

0 comments on commit 8fe866c

Please sign in to comment.
Something went wrong with that request. Please try again.