>>>>> "Rob" == Rob Lahaye <[EMAIL PROTECTED]> writes:

Rob> Jean-Marc Lasgouttes wrote:
>> I can confirm this bug. I took a brief look at fdesign source but
>> could not find anything obvious. I sent a message about it to the
>> xforms list (just in case). Maybe is it necessary to use an older
>> fdesign (like from 0.89.6).

Rob> No I'm rather not go back to old Xforms. I'll keep my fingers
Rob> crossed that your report to the list will fix fdesign in
Rob> 1.0.0rc5. Lot's of other stuff to do.

I decided to take an harder look and fixed the bug. It was a rather
stupid one :) If you can compile fdesign yourself, here is the patch.
I will send it to the xforms list.

JMarc

--- fdesign/fd_attribs.c.orig	Wed Aug 28 15:24:59 2002
+++ fdesign/fd_attribs.c	Wed Aug 28 15:25:41 2002
@@ -305,15 +305,15 @@
     else
 	obj->align &= ~FL_ALIGN_INSIDE;
 
-    snprintf(tmpbuf,sizeof(tmpbuf),"FL_",
+    snprintf(tmpbuf,sizeof(tmpbuf),"FL_%s",
                 fl_get_choice_text(fd_generic_attrib->resize));
     obj->resize = resize_val(tmpbuf);
 
-    snprintf(tmpbuf,sizeof(tmpbuf),"FL_",
+    snprintf(tmpbuf,sizeof(tmpbuf),"FL_%s",
                 fl_get_choice_text(fd_generic_attrib->segravity));
     obj->segravity = gravity_val(tmpbuf);
 
-    snprintf(tmpbuf,sizeof(tmpbuf),"FL_",
+    snprintf(tmpbuf,sizeof(tmpbuf),"FL_%s",
                 fl_get_choice_text(fd_generic_attrib->nwgravity));
     obj->nwgravity = gravity_val(tmpbuf);
 

Reply via email to