From 380d6d1f62f3fc6699bf7f9b88573cdf6c9d2b18 Mon Sep 17 00:00:00 2001
From: matta <matta@npt>
Date: Fri, 7 Jan 2011 20:00:52 +0000
Subject: [PATCH] * Change the rootlogon example to fit actual procedure

---
 Misc/rootlogon.C | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/Misc/rootlogon.C b/Misc/rootlogon.C
index 1d1c52e6b..2241cfa35 100644
--- a/Misc/rootlogon.C
+++ b/Misc/rootlogon.C
@@ -23,5 +23,12 @@
 {
    // Load NPToolLogon.C macro dealing with all the NPLib shared libraries
    TString path = gSystem->Getenv("NPLIB");
-   gROOT->ProcessLine(Form(".x %s/scripts/NPToolLogon.C", path.Data()));
+   gROOT->ProcessLine( Form(".L %s/scripts/NPToolLogon.C+", path.Data()) );
+   
+   // No Init Display
+   // InitNPTool(false)
+   InitNPTool();
+   
+   // With Init Display
+   //InitNPTool(true);
 }
-- 
GitLab