mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-01 07:06: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:
@ -29,12 +29,6 @@
|
||||
#include <unistd.h>
|
||||
#include <pwd.h>
|
||||
|
||||
#ifdef NO_GETTEXT
|
||||
#define gettext(A) (A)
|
||||
#else
|
||||
#include <libintl.h>
|
||||
#endif
|
||||
|
||||
#include "toxic.h"
|
||||
#include "configdir.h"
|
||||
|
||||
@ -122,7 +116,7 @@ int create_user_config_dirs(char *path)
|
||||
char *logpath = malloc(strlen(path) + strlen(LOGDIR) + 1);
|
||||
|
||||
if (fullpath == NULL || logpath == NULL)
|
||||
exit_toxic_err(gettext("failed in load_data_structures"), FATALERR_MEMORY);
|
||||
exit_toxic_err("failed in load_data_structures", FATALERR_MEMORY);
|
||||
|
||||
strcpy(fullpath, path);
|
||||
strcat(fullpath, CONFIGDIR);
|
||||
|
Reference in New Issue
Block a user