From 83e2655441f41a7c8834073f288c027cb0e2f0f4 Mon Sep 17 00:00:00 2001 From: Paul Russo <russo@fnal.gov> Date: Mon, 12 May 2008 22:27:25 +0000 Subject: [PATCH] Fix Philippe's typo git-svn-id: http://root.cern.ch/svn/root/trunk@23804 27541ba8-7e3a-0410-8455-c3a389f83636 --- cint/cint7/src/Method.cxx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/cint/cint7/src/Method.cxx b/cint/cint7/src/Method.cxx index a38fa71ffb0..230fc5ff240 100644 --- a/cint/cint7/src/Method.cxx +++ b/cint/cint7/src/Method.cxx @@ -165,17 +165,15 @@ struct G__ifunc_table* Cint::G__MethodInfo::ifunc() } } /////////////////////////////////////////////////////////////////////////// -const char* Cint::G__MethodInfo::Title() +const char* Cint::G__MethodInfo::Title() { static char buf[G__INFO_TITLELEN]; - buf[0]='\0'; - if(IsValid()) { - G__getcomment(buf,&G__get_properties(fFunc)->comment,G__get_tagnum(fScope)); - return(buf); - } - else { - return((char*)NULL); + buf[0] = '\0'; + if (IsValid()) { + G__getcomment(buf, &G__get_funcproperties(fFunc)->comment, G__get_tagnum(fScope)); + return buf; } + return 0; } /////////////////////////////////////////////////////////////////////////// long Cint::G__MethodInfo::Property() -- GitLab