¶ 5 In June 2004, defendant filed a pro se postconviction petition (725 ILCS 5/122-1 et seq. (West 2004)), claiming that (1) he was denied a fair trial and (2) appellate counsel on direct appeal was ineffective. People v. Joyner, No. 2-04-1283 (2006) (unpublished summary order under Illinois Supreme Court Rule 23(c)). The trial court dismissed the petition as frivolous and patently without merit and appointed appellate counsel. No issue regarding presentence-custody credit was raised.