mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Bug 282417: Label of grouped methods.
This commit is contained in:
parent
0dc6ec197c
commit
eaa4d9f281
1 changed files with 1 additions and 1 deletions
|
@ -446,7 +446,7 @@ public class CElementBaseLabels {
|
|||
* @return a "simple" name
|
||||
*/
|
||||
private static String getSimpleName(String elementName) {
|
||||
int idx = elementName.indexOf("::"); //$NON-NLS-1$
|
||||
int idx = elementName.lastIndexOf("::"); //$NON-NLS-1$
|
||||
if (idx >= 0) {
|
||||
return elementName.substring(idx+2);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue