commit - 1a719c663fd2c7ac5cf5e605e16d7c9ed576bca7
commit + c215d14d2165cb25126ea6a37f3fca52b0ea5d7f
blob - c0664e3d644450a249540c36ac419b0efceb61cf
blob + 9cca09e39053b6edff44bd298689744a644af4e1
--- src/common/utils.c
+++ src/common/utils.c
return TRUE;
}
-static const gchar * line_has_quote_char_last(const gchar * str, const gchar *quote_chars)
-{
- gchar * position = NULL;
- gchar * tmp_pos = NULL;
- int i;
-
- if (str == NULL || quote_chars == NULL)
- return NULL;
-
- for (i = 0; i < strlen(quote_chars); i++) {
- tmp_pos = strrchr (str, quote_chars[i]);
- if(position == NULL
- || (tmp_pos != NULL && position <= tmp_pos) )
- position = tmp_pos;
- }
- return position;
-}
-
-
gint check_line_length(const gchar *str, gint max_chars, gint *line)
{
const gchar *p = str, *q;