ide: fix debug-only bug when adding a watch expression when application is not running.
authorRejean Loyer <redj@ecere.com>
Wed, 13 Jul 2016 17:54:43 +0000 (13:54 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 28 Jul 2016 22:23:31 +0000 (18:23 -0400)
compiler/libec/src/pass15.ec

index d2962a3..168cdd7 100644 (file)
@@ -7439,7 +7439,7 @@ static GlobalData FindGlobalData(char * name)
          start = c+1;
       }
    }
-   if(c - start)
+   if(nameSpace && c - start)
    {
       return ScanGlobalData(nameSpace, name + start);
    }