bitcoin/bitcoin — pull request #2248 by gavinandresen (2013-01-30 20:25:53+00:00)
Title: Prevent Qt crash at startup with an empty data directory

Fixes issue #2239 -- return the main network genesis block time if pindexBest has not yet been set.