bookloupe/counters.c
changeset 121 ea3555c0bf85
parent 103 adc06e9e8470
     1.1 --- a/bookloupe/counters.c	Mon Sep 23 21:18:27 2013 +0100
     1.2 +++ b/bookloupe/counters.c	Thu Sep 26 08:36:35 2013 +0100
     1.3 @@ -45,11 +45,13 @@
     1.4  	return GINT_TO_POINTER((gint)CHAR_SQUOTE);
     1.5      else if (ch==CHAR_LS_QUOTE || ch==CHAR_RS_QUOTE)
     1.6  	return GINT_TO_POINTER((gint)CHAR_LS_QUOTE);
     1.7 +    else if (ch==CHAR_LD_QUOTE || ch==CHAR_RD_QUOTE)
     1.8 +	return GINT_TO_POINTER((gint)CHAR_LD_QUOTE);
     1.9 +    else if (ch==CHAR_DQUOTE)
    1.10 +	return GINT_TO_POINTER((gint)ch);
    1.11      else if (ch<0x4000 || ch-0x4000>=NO_SPECIAL_COUNTERS)
    1.12 -    {
    1.13  	g_warning("Matching pair not found for U+%04" G_GINT32_MODIFIER "X",ch);
    1.14 -	return GINT_TO_POINTER((gint)ch);
    1.15 -    }
    1.16 +    return GINT_TO_POINTER((gint)ch);
    1.17  }
    1.18  
    1.19  void increment_matching(struct counters *counters,gunichar ch,gboolean open)