>From 9aaeac4d74b517e8d3ff8a8759c3ff7da258a21b Mon Sep 17 00:00:00 2001
From: Tamas TEVESZ <[email protected]>
Date: Tue, 21 Sep 2010 12:30:02 +0200
Subject: [PATCH] Fix typo in wApplicationExtractDirPackIcon()

Signed-off-by: Tamas TEVESZ <[email protected]>
---
 src/application.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/application.c b/src/application.c
index c5f2c56..7913792 100644
--- a/src/application.c
+++ b/src/application.c
@@ -192,7 +192,7 @@ void wApplicationExtractDirPackIcon(WScreen * scr, char 
*path, char *wm_instance
                        if (access(tmp, R_OK) == 0)
                                iconPath = tmp;
                }
-               if (!path) {
+               if (!iconPath) {
                        strcpy(tmp, path);
                        strcat(tmp, ".xpm");
                        if (access(tmp, R_OK) == 0)
-- 
1.7.0.4


-- 
[-]

mkdir /nonexistent


-- 
To unsubscribe, send mail to [email protected].

Reply via email to