nanogui: Thread: Bugfix in font_fnt.c


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Bugfix in font_fnt.c
From: "Holger Thiess" ####@####.####
Date: 1 Jul 2008 09:27:58 -0000
Message-Id: <40f4daf60807010227n6e8620adscd185affbe377f40@mail.gmail.com>

Hello,

I have discovered a little bug in font_fnt.c, which causes nano-X to
segfault on ftell(), if it is built with 'HAVE_FNTGZ_SUPPORT = Y'.

To fix this simply add another macro for FTELL(file) to the
appropriate sections at the top of the file and use it in
fnt_load_font().

Best regards,

Holger Thiess
Subject: Re: [nanogui] Bugfix in font_fnt.c
From: "Greg Haerr" ####@####.####
Date: 2 Jul 2008 00:50:27 -0000
Message-Id: <0eca01c8dbdd$d4e8a190$2f01a8c0@HaydenLake>

: I have discovered a little bug in font_fnt.c, which causes nano-X to
: segfault on ftell(), if it is built with 'HAVE_FNTGZ_SUPPORT = Y'.
: 
: To fix this simply add another macro for FTELL(file) to the
: appropriate sections at the top of the file and use it in
: fnt_load_font().

This has been fixed for some time in the CVS version, thanks!

Regards,

Greg
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.