1
0
Fork 0
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:
Markus Schorn 2010-03-15 16:02:01 +00:00
parent 0dc6ec197c
commit eaa4d9f281

View file

@ -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);
}