bug in gmarkup.c
- From: Tim Janik <timj gtk org>
 
- To: Gtk+ Developers <gtk-devel-list gnome org>
 
- Subject: bug in gmarkup.c
 
- Date: Sat, 5 Mar 2005 00:38:51 +0100 (CET)
 
around gmarkup.c:1800, in g_markup_parse_context_end_parse(), in 
case STATE_INSIDE_CLOSE_TAG_NAME, the code needs to be fixed like:
  set_error (context, error, G_MARKUP_ERROR_PARSE,
                 _("Document ended unexpectedly inside the close tag for "
  -                "element '%s'"), current_element);
  +                "element '%s'"), current_element (context));
someone should probably add a GNUC_PRINTF() spec to set_error() in gmarkup.c
to give the compiler a chance to catch such mistakes.
---
ciaoTJ
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]