[libgda/LIBGDA_4.2] Corrected documentation, fixes bug #663151



commit ba5f1993b2ffe4d2f941938b7efde9a7a073647e
Author: Vivien Malerba <malerba gnome-db org>
Date:   Tue Nov 1 18:05:39 2011 +0100

    Corrected documentation, fixes bug #663151

 libgda/sql-parser/gda-statement-struct-util.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/libgda/sql-parser/gda-statement-struct-util.c b/libgda/sql-parser/gda-statement-struct-util.c
index e154d24..28458fa 100644
--- a/libgda/sql-parser/gda-statement-struct-util.c
+++ b/libgda/sql-parser/gda-statement-struct-util.c
@@ -350,14 +350,15 @@ gda_sql_identifier_needs_quotes (const gchar *str)
  * @str: a quoted string
  *
  * Prepares @str to be compared:
- * - if surrounded by double quotes or single quotes, then just remove the quotes
- * - otherwise convert to lower case
+ * <itemizedlist>
+ *  <listitem><para>if surrounded by double quotes or single quotes, then just remove the quotes</para></listitem>
+ *  <listitem><para>otherwise convert to lower case</para></listitem>
+ * </itemizedlist>
  *
  * The quoted string:
  * <itemizedlist>
- *   <listitem><para>must start and finish with the same single or double quotes character</para></listitem>
- *   <listitem><para>can contain the delimiter character (the single or double quotes) in the string if every instance
- *     of it is preceeded with a backslash character or with the delimiter character itself</para></listitem>
+ *  <listitem><para>must start and finish with the same single or double quotes character</para></listitem>
+ *  <listitem><para>can contain the delimiter character (the single or double quotes) in the string if every instance of it is preceeded with a backslash character or with the delimiter character itself</para></listitem>
  * </itemizedlist>
  *
  * WARNING: @str must NOT be a composed identifier (&lt;part1&gt;."&lt;part2&gt;" for example)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]