summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index cf1c1f1..e67e9fb 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -1872,7 +1872,8 @@ int findParameterList(const QString &name)
}
else
{
- return bracePos;
+ int bp = bracePos>0 ? name.findRev('(',bracePos-1) : -1;
+ return bp==-1 ? bracePos : bp;
}
}
} while (pos!=-1);