mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-30 12:15:50 +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:
committed by
Carlos R. Mafra
parent
c5f5e0b9c0
commit
1f21919809
@@ -201,13 +201,13 @@ void copyFile(char *dir, char *file)
|
||||
|
||||
RETRY( dst = fopen(dstpath, "wb") )
|
||||
if (dst == NULL) {
|
||||
wsyserror(_("Could not create %s"), dstpath);
|
||||
werror(_("Could not create %s"), dstpath);
|
||||
goto err;
|
||||
}
|
||||
|
||||
RETRY( src = fopen(file, "rb") )
|
||||
if (src == NULL) {
|
||||
wsyserror(_("Could not open %s"), file);
|
||||
werror(_("Could not open %s"), file);
|
||||
goto err;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user