diff --git a/README.md b/README.md index c4e1044..7bfe35c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Toxic [![Build Status](https://travis-ci.org/Tox/toxic.png?branch=master)](https://travis-ci.org/Tox/toxic) Toxic is a [Tox](https://tox.im)-based instant messenging client which formerly resided in the [Tox core repository](https://github.com/irungentoo/toxcore), and is now available as a standalone application. -![Toxic Screenshot](https://i.imgur.com/YOZ5NIB.png "Main Screen"). +![Toxic Screenshot](https://i.imgur.com/ueK1Tdj.png "Home Screen"). ## Installation @@ -13,11 +13,11 @@ Toxic is a [Tox](https://tox.im)-based instant messenging client which formerly ##### Audio * libtoxav (libtoxcore compiled with audio support) -* [openal](http://openal.org) +* [openal](http://openal.org) (for Debian based systems, 'libopenal-dev') ##### Sound notifications * [openal](http://openal.org) -* [openalut](http://openal.org) +* [openalut](http://openal.org) (for Debian based systems, 'libalut-dev') ### Compiling 1. `cd build/` diff --git a/build/Makefile b/build/Makefile index ed4e06f..8061608 100644 --- a/build/Makefile +++ b/build/Makefile @@ -1,4 +1,4 @@ -TOXIC_VERSION = 0.4.5 +TOXIC_VERSION = 0.4.6 REV = $(shell git rev-list HEAD --count) VERSION = $(TOXIC_VERSION)_r$(REV) diff --git a/src/prompt.c b/src/prompt.c index 7fa3d03..1314f72 100644 --- a/src/prompt.c +++ b/src/prompt.c @@ -382,7 +382,7 @@ void prompt_init_statusbar(ToxWindow *self, Tox *m) strcpy(ver, TOXICVER); const char *toxic_ver = strtok(ver, "_"); - if ( (!strcmp("Online", statusmsg) || !strncmp("Toxing on Toxic", statusmsg, 15)) && toxic_ver != NULL) { + if ( (!statusmsg[0] || !strncmp("Toxing on Toxic", statusmsg, 15)) && toxic_ver != NULL) { snprintf(statusmsg, MAX_STR_SIZE, "Toxing on Toxic v.%s", toxic_ver); s_len = strlen(statusmsg); statusmsg[s_len] = '\0';