1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-23 03:13:25 +01:00

fix small bug, update readme, bump version

This commit is contained in:
Jfreegman 2014-07-23 15:15:14 -04:00
parent 9476db02a9
commit 8660047ec1
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63
3 changed files with 5 additions and 5 deletions

View File

@ -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/`

View File

@ -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)

View File

@ -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';