1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 17:56:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2014-04-11 12:57:09 -07:00
parent a94a29ae22
commit 362fe864f3

View file

@ -73,7 +73,7 @@ public class IndexLabelProvider extends LabelProvider {
else if (element instanceof ICContainer) else if (element instanceof ICContainer)
desc = CDTSharedImages.getImageDescriptor(CDTSharedImages.IMG_OBJS_SEARCHFOLDER); desc = CDTSharedImages.getImageDescriptor(CDTSharedImages.IMG_OBJS_SEARCHFOLDER);
else if (element instanceof ITranslationUnit) { else if (element instanceof ITranslationUnit) {
ITranslationUnit tu = (ITranslationUnit)element; ITranslationUnit tu = (ITranslationUnit) element;
desc = tu.isHeaderUnit() desc = tu.isHeaderUnit()
? CDTSharedImages.getImageDescriptor(CDTSharedImages.IMG_OBJS_TUNIT_HEADER) ? CDTSharedImages.getImageDescriptor(CDTSharedImages.IMG_OBJS_TUNIT_HEADER)
: CDTSharedImages.getImageDescriptor(CDTSharedImages.IMG_OBJS_TUNIT); : CDTSharedImages.getImageDescriptor(CDTSharedImages.IMG_OBJS_TUNIT);