From 40d066049805c80589fb287cad933ba3116b32cc Mon Sep 17 00:00:00 2001 From: Rene Brun <Rene.Brun@cern.ch> Date: Thu, 24 Jun 2010 12:06:57 +0000 Subject: [PATCH] From Axel: Ignore .x in comments. Fixes Savannah #69152. git-svn-id: http://root.cern.ch/svn/root/trunk@34100 27541ba8-7e3a-0410-8455-c3a389f83636 --- core/base/src/TApplication.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/base/src/TApplication.cxx b/core/base/src/TApplication.cxx index e65fb01708c..c485b5ebe21 100644 --- a/core/base/src/TApplication.cxx +++ b/core/base/src/TApplication.cxx @@ -929,7 +929,7 @@ Long_t TApplication::ExecuteFile(const char *file, Int_t *error, Bool_t keep) } if (!*s || *s == '#' || ifndefc || !strncmp(s, "//", 2)) continue; - if (!strncmp(s, ".X", 2) || !strncmp(s, ".x", 2)) { + if (!comment && (!strncmp(s, ".X", 2) || !strncmp(s, ".x", 2))) { retval = ExecuteFile(s+3); execute = kTRUE; continue; -- GitLab