mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 14:08:06 +01:00
supports_tiff moved to wPreferences
The flag "supports_tiff" doesn't belong to the wScreen, because all screens has (or not) the same value. If wmaker supports (or not) tiff files is global to all wmaker, not to the screens.
This commit is contained in:
committed by
Carlos R. Mafra
parent
82aea844d0
commit
4e4d75c55e
@@ -87,7 +87,7 @@ void wApplicationExtractDirPackIcon(WScreen * scr, const char *path, const char
|
||||
if (strstr(path, ".app")) {
|
||||
tmp = wmalloc(strlen(path) + 16);
|
||||
|
||||
if (scr->flags.supports_tiff) {
|
||||
if (wPreferences.supports_tiff) {
|
||||
strcpy(tmp, path);
|
||||
strcat(tmp, ".tiff");
|
||||
if (access(tmp, R_OK) == 0)
|
||||
|
||||
Reference in New Issue
Block a user