1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-23 14:42:29 +01:00

Remove wsyserrorwithcode, rename wsyserror to werror

wsyserrorwithcode - Not used, no point either.
wsyserror->werror - qualifying "error" with a "type" hardly makes
sense if there are not at least two "type"s. There are not. Safe trip.

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
This commit is contained in:
Tamas TEVESZ
2010-09-27 16:12:57 +02:00
committed by Carlos R. Mafra
parent c5f5e0b9c0
commit 1f21919809
20 changed files with 92 additions and 108 deletions

View File

@@ -448,7 +448,7 @@ static char *getnameforicon(WWindow * wwin)
if (access(path, F_OK) != 0) {
if (mkdir(path, S_IRUSR | S_IWUSR | S_IXUSR)) {
wsyserror(_("could not create directory %s"), path);
werror(_("could not create directory %s"), path);
wfree(path);
wfree(suffix);
return NULL;
@@ -457,7 +457,7 @@ static char *getnameforicon(WWindow * wwin)
strcat(path, "/CachedPixmaps");
if (access(path, F_OK) != 0) {
if (mkdir(path, S_IRUSR | S_IWUSR | S_IXUSR) != 0) {
wsyserror(_("could not create directory %s"), path);
werror(_("could not create directory %s"), path);
wfree(path);
wfree(suffix);
return NULL;