On Wed, Aug 06, 2003 at 07:49:53PM +0300, Tuomo Valkonen wrote:
> On Wed, Aug 06, 2003 at 06:47:22PM +0200, [EMAIL PROTECTED] wrote:
> > Hi,
> > 
> > On Fri, Aug 01, 2003 at 02:57:09PM +0300, Tuomo Valkonen wrote:
> > > Use region_name(cwin)/cwin:name(), it does the right thing.
> > 
> > cwin:name() is always nil for me in get_winprop(cwin).
> > any idea why ?
> 
> Because you're not using the cvs head? It no longer has 
> region_name(reg) but WRegion.name(reg) which can also be
> accessed as obj:name() (same applies to all other such 
> functions).

Nope.  Just got the latest snapshot before posting.
Anyway i suppose that would have got me an
'trying to execute a nil function' not just a nil return
value.  Even compiled with UTF8 just in case thats what 
everybody does. (By the way, the attached patch fixes
a typo in an UTF8 #define)

ingo

diff -u -r1.1.1.1 font.c
--- de/font.c   27 Jul 2003 20:10:53 -0000      1.1.1.1
+++ de/font.c   6 Aug 2003 16:21:24 -0000
@@ -86,7 +86,7 @@
                        goto fail;
                fnte->max_height=ext->max_logical_extent.height;
                fnte->max_width=ext->max_logical_extent.width;
-               fnte->baseline=-extl->max_logical_extent.y;
+               fnte->baseline=-ext->max_logical_extent.y;
        }
 #else
        {

Reply via email to