mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-08 09:25:49 +01:00
- Mapping a new window that belongs to a running application that is hidden,
will unhide the application. - removed a wsyserror() message when reading a property list from file (the programmer should decide if to give that message or just ignore).
This commit is contained in:
@@ -4,6 +4,8 @@ Changes since wmaker 0.70.0:
|
||||
- added an internal strcasecmp() (only on systems where is not present)
|
||||
- removed some redundant includes of ../src/config.h when wconfig.h is
|
||||
included too
|
||||
- removed a wsyserror() message when reading a property list from file
|
||||
(the programmer should decide if to give that message or just ignore).
|
||||
|
||||
|
||||
Changes since wmaker 0.65.0:
|
||||
|
||||
@@ -1544,14 +1544,15 @@ WMReadPropListFromFile(char *file)
|
||||
|
||||
f = fopen(file, "r");
|
||||
if (!f) {
|
||||
wsyserror(_("could not open domain file %s for reading"), file);
|
||||
/* let the user print the error message if he really needs to */
|
||||
/*wsyserror(_("could not open domain file '%s' for reading"), file);*/
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (stat(file, &stbuf)==0) {
|
||||
length = (size_t) stbuf.st_size;
|
||||
} else {
|
||||
wsyserror(_("could not get size for domain file %s"), file);
|
||||
wsyserror(_("could not get size for file '%s'"), file);
|
||||
fclose(f);
|
||||
return NULL;
|
||||
}
|
||||
@@ -1563,7 +1564,7 @@ WMReadPropListFromFile(char *file)
|
||||
pldata->lineNumber = 1;
|
||||
|
||||
if (fread(pldata->ptr, length, 1, f) != 1) {
|
||||
wsyserror(_("error reading from file %s"), file);
|
||||
wsyserror(_("error reading from file '%s'"), file);
|
||||
plist = NULL;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user