jnordberg/irccloudapp — pull request #16 by antifuchs (2014-01-21 20:08:59+00:00)
Title: Fix #15: don’t crash on title change to empty string

Sometimes, on 10.9, WebKit sends an event indicating that the document title has changed to @"", which would cause substring operations in the window title generation method to crash the app. This guards against the empty string.