Changeset 21dd391


Ignore:
Timestamp:
Mar 29, 2010, 10:22:25 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
Children:
73eda8c
Parents:
b4a95fc
Message:
Remove the defunct oe_count_glyphs.

We may want this again later, but we can always grab it from git
history.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • editwin.c

    r38cc669 r21dd391  
    4545static void oe_restore_excursion(owl_editwin *e, oe_excursion *x);
    4646static void oe_restore_mark_only(owl_editwin *e, oe_excursion *x);
    47 static int oe_count_glyphs(const char *s);
    4847static int oe_char_width(gunichar c, int column);
    4948static int oe_region_width(owl_editwin *e, int start, int end, int width);
     
    8382
    8483  owl_free(e);
    85 }
    86 
    87 static int oe_count_glyphs(const char *s)
    88 {
    89   int count = 0;
    90   const char *p;
    91 
    92   for(p = s; *p != 0; p = g_utf8_find_next_char(p, NULL))
    93     if (!g_unichar_ismark(g_utf8_get_char(p)))
    94       count++;
    95 
    96   return count;
    9784}
    9885
Note: See TracChangeset for help on using the changeset viewer.