On Sunday, Feb 29, 2004 at 21:30, Kim Woelders wrote:
> To debug this I'd start in Config_ECursor(), check the reading of the
> RGB values, trace it down into CreateECursor(), and see that the colors
> get allocated properly.

I didn't have to go quite that far... I found a typo in the first
function. After correcting it, i recompiled to make sure i hadn't
messed anything up, and the colours were back :) Here's the diff:

-=-=-=-=-=-=-=-

--- config.c.old        Sat Mar  6 22:02:13 2004
+++ config.c    Sat Mar  6 22:03:11 2004
@@ -1967,9 +1967,9 @@
             ESetColor(&xclr, r, g, b);
             break;
          case CURS_FG_RGB:
-            EGetColor(&xclr, &r, &g, &b);
+            EGetColor(&xclr2, &r, &g, &b);
             sscanf(s, "%4000s %d %d %d", s2, &r, &g, &b);
-            ESetColor(&xclr, r, g, b);
+            ESetColor(&xclr2, r, g, b);
             break;
          case XBM_FILE:
             file = Estrdup(s2);

-=-=-=-=-=-=-=-


B*B,
-Smoke.


-- bye!  :) 

"Time is an illusion. Lunchtime doubly so."
                         - "Hitchhiker's Guide to The Galaxy", Douglas Adams.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to