1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 13:36:46 +02:00

Revert commit 312d0c3 (localization/gettext)

There were serious problems with branch merging that need to be resolved first
This commit is contained in:
Jfreegman
2015-07-04 01:19:16 -04:00
parent 444d8e7a74
commit 035420e5c7
37 changed files with 441 additions and 5552 deletions

View File

@ -24,12 +24,6 @@
#include <string.h>
#include <limits.h>
#ifdef NO_GETTEXT
#define gettext(A) (A)
#else
#include <libintl.h>
#endif
#ifdef __APPLE__
#include <sys/types.h>
#include <sys/dir.h>
@ -123,7 +117,7 @@ int complete_line(ToxWindow *self, const void *list, int n_items, int size)
char *sub = malloc(strlen(ubuf) + 1);
if (sub == NULL)
exit_toxic_err(gettext("failed in complete_line"), FATALERR_MEMORY);
exit_toxic_err("failed in complete_line", FATALERR_MEMORY);
if (!s && !dir_search) {
strcpy(sub, tmp);