Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/dist/src/c/demos/edit/search.c

    r28a5ebd r1433ecda  
    4949                return NULL;
    5050
    51         char32_t *p = str_to_awstr(pattern);
     51        wchar_t *p = str_to_awstr(pattern);
    5252        if (p == NULL) {
    5353                free(search);
     
    6262                half = search->pattern_length / 2;
    6363                for (pos = 0; pos < half; pos++) {
    64                         char32_t tmp = p[pos];
     64                        wchar_t tmp = p[pos];
    6565                        p[pos] = p[search->pattern_length - pos - 1];
    6666                        p[search->pattern_length - pos - 1] = tmp;
     
    106106        search_equals_fn eq = s->ops.equals;
    107107
    108         char32_t cur_char;
     108        wchar_t cur_char;
    109109        errno_t rc = EOK;
    110110        while ((rc = s->ops.producer(s->client_data, &cur_char)) == EOK && cur_char > 0) {
     
    140140}
    141141
    142 bool char_exact_equals(const char32_t a, const char32_t b)
     142bool char_exact_equals(const wchar_t a, const wchar_t b)
    143143{
    144144        return a == b;
Note: See TracChangeset for help on using the changeset viewer.