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

Fixed a "bug"

This commit is contained in:
Sean 2014-05-13 10:14:19 -07:00
parent 30d2a5514e
commit 2cf5430b85

View File

@ -168,11 +168,9 @@ static Tox *init_tox(int ipv4)
tox_callback_file_data(m, on_file_data, NULL); tox_callback_file_data(m, on_file_data, NULL);
#ifdef __linux__ #ifdef __linux__
tox_set_name(m, (uint8_t *) "Cool guy", strlen("Cool guy")); tox_set_name(m, (uint8_t *) "I should insta... buy a Mac", strlen("I should insta... buy a Mac"));
#elif defined(__FreeBSD__) #elif defined(__FreeBSD__)
tox_set_name(m, (uint8_t *) "Very cool guy", strlen("Very cool guy")); tox_set_name(m, (uint8_t *) "Very cool guy", strlen("Very cool guy"));
#elif defined(_WIN32)
tox_set_name(m, (uint8_t *) "I should insta....... buy a Mac", strlen("I should insta....... buy a Mac"));
#elif defined(__APPLE__) #elif defined(__APPLE__)
tox_set_name(m, (uint8_t *) "Hipster", strlen("Hipster")); /* This used to users of other Unixes are hipsters */ tox_set_name(m, (uint8_t *) "Hipster", strlen("Hipster")); /* This used to users of other Unixes are hipsters */
#else #else