mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 16:13:02 +01:00
fix small bug, update readme, bump version
This commit is contained in:
parent
9476db02a9
commit
8660047ec1
@ -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/`
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user