Hi Nacho,

On Wed, Sep 06, 2006 at 10:56:03AM +0200, Nacho Barrientos Arias wrote:
> Yes, style->font is NULL.

Okay, thanks.

I don't understand why it gets NULL.  From what I've seen, the culprit
style is stored in the field edit_text_standard.  It is first set in
main.c:398, then in prefop.c:169 with the content of what was retrieved
from the .maneditrc.

Could you please try with gdb to display the style content around those
lines?

On the binary built with debugging symbols, that would give something
like:

  (gdb) b main.c:398
  Breakpoint 1 at ...: file main.c, line 398.
  (gdb) r
  Breakpoint 1, ...
  (gdb) print style_ptr->font
  <This value should not be NULL>
  (gdb) b prefop.c:169
  Breakpoint 2 at ...: file prefop.c, line 169.
  (gdb) cont
  Breakpoint 2, ...
  (gdb) print style_ptr->font
  <What does it read?>
  (gdb) next
  (gdb) print style_ptr->font
  <Is it NULL now?>

Thanks,

Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to