Somehow I missed that my original patch did exactly the opposite of what it 
should have.  Carlos, could you patch this over the original?

Thanks!
---
 WPrefs.app/Appearance.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/WPrefs.app/Appearance.c b/WPrefs.app/Appearance.c
index ce54e3f..256a74d 100644
--- a/WPrefs.app/Appearance.c
+++ b/WPrefs.app/Appearance.c
@@ -510,9 +510,9 @@ static Pixmap renderTexture(WMScreen * scr, WMPropList * 
texture, int width, int
 
                str = WMGetFromPLString(WMGetFromPLArray(texture, 1));
                path = wfindfileinarray(GetObjectForKey("PixmapPath"), str);
-               if (path != NULL) {
+               if (path) {
                        timage = RLoadImage(rc, path, 0);
-                       if (timage != NULL) {
+                       if (!timage) {
                                wwarning("could not load file '%s': %s", path ? 
path : str, RMessageForError(RErrorCode));
                                texture = 
WMCreatePropListFromDescription("(solid, black)");
                                type = "solid";
-- 
1.9.1


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to