Cotix/cReddit — pull request #64 by olof (2013-12-20 17:04:49+00:00)
Title: creddit: align index on LinkScreen to at least 2 digits

Found this program yesterday, really cool! This is just a really minor issue I had, which motivated me to grok the code a bit. The rationale is that you will seldom have LinkScreens with less than 10 items, and before this change, the first nine items would have a weird offset in the UI compared to the rest of the items. This will still happen when displaying more than 100, and again when displaying more than 1000 items though (etc for every 10^n), but having it set to %3d seems a bit wasteful.