diff --git a/macosx/FileOutlineView.m b/macosx/FileOutlineView.m index bbc58d87b..7dc84f5b4 100644 --- a/macosx/FileOutlineView.m +++ b/macosx/FileOutlineView.m @@ -119,8 +119,7 @@ FileNameCell * cell = (FileNameCell *)[self preparedCellAtColumn: [self columnWithIdentifier: @"Name"] row: row]; NSRect iconRect = [cell imageRectForBounds: [self rectOfRow: row]]; - iconRect.origin.x += [self frameOfOutlineCellAtRow: row].size.width; - iconRect.origin.x += [self indentationPerLevel] * (float)([self levelForRow: row] + ([[self itemAtRow: row] isFolder] ? 0 : 1)); + iconRect.origin.x += [self indentationPerLevel] * (float)([self levelForRow: row] + 1); return iconRect; }