diff -r adc06e9e8470 -r c13989a152ab bookloupe/counters.c --- a/bookloupe/counters.c Mon Sep 23 21:18:27 2013 +0100 +++ b/bookloupe/counters.c Thu Sep 26 07:06:15 2013 +0100 @@ -45,11 +45,13 @@ return GINT_TO_POINTER((gint)CHAR_SQUOTE); else if (ch==CHAR_LS_QUOTE || ch==CHAR_RS_QUOTE) return GINT_TO_POINTER((gint)CHAR_LS_QUOTE); + else if (ch==CHAR_LD_QUOTE || ch==CHAR_RD_QUOTE) + return GINT_TO_POINTER((gint)CHAR_LD_QUOTE); + else if (ch==CHAR_DQUOTE) + return GINT_TO_POINTER((gint)ch); else if (ch<0x4000 || ch-0x4000>=NO_SPECIAL_COUNTERS) - { g_warning("Matching pair not found for U+%04" G_GINT32_MODIFIER "X",ch); - return GINT_TO_POINTER((gint)ch); - } + return GINT_TO_POINTER((gint)ch); } void increment_matching(struct counters *counters,gunichar ch,gboolean open)