1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 05:48:01 +01:00

Fix typo in wApplicationExtractDirPackIcon()

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
This commit is contained in:
Tamas TEVESZ
2010-09-21 12:30:02 +02:00
committed by Carlos R. Mafra
parent e10e7d08fa
commit e7f3e62d69

View File

@@ -192,7 +192,7 @@ void wApplicationExtractDirPackIcon(WScreen * scr, char *path, char *wm_instance
if (access(tmp, R_OK) == 0) if (access(tmp, R_OK) == 0)
iconPath = tmp; iconPath = tmp;
} }
if (!path) { if (!iconPath) {
strcpy(tmp, path); strcpy(tmp, path);
strcat(tmp, ".xpm"); strcat(tmp, ".xpm");
if (access(tmp, R_OK) == 0) if (access(tmp, R_OK) == 0)