Skip to content
Snippets Groups Projects
Commit f344c545 authored by Bertrand Bellenot's avatar Bertrand Bellenot
Browse files

Fix Jira issue #ROOT-7547 SetDrawOption twice in GUI pops an empty panel...

Fix Jira issue #ROOT-7547 SetDrawOption twice in GUI pops an empty panel (Option_t* is the same than char*)
parent a47878cd
Branches
Tags
No related merge requests found
......@@ -466,7 +466,7 @@ void TRootContextMenu::Dialog(TObject *object, TFunction *function)
if (strchr(argname, '*')) {
strlcat(basictype, "*",32);
if (!strncmp(type, "char", 4))
if (!strncmp(type, "char", 4) || !strncmp(type, "Option_t", 8))
type = charstar;
else if (strstr(argname, "[default:")) {
// skip arguments that are pointers (but not char *)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment