Mercurial > hg > xemacs-beta
comparison src/abbrev.c @ 4962:e813cf16c015
merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Mon, 01 Feb 2010 05:29:05 -0600 |
parents | 304aebb79cd3 6ef8256a020a |
children | 2e528066e2fc |
comparison
equal
deleted
inserted
replaced
4961:b90f8cf474e0 | 4962:e813cf16c015 |
---|---|
129 Ibyte *ptr = XSTRING_DATA (abbrev); | 129 Ibyte *ptr = XSTRING_DATA (abbrev); |
130 Charcount idx; | 130 Charcount idx; |
131 | 131 |
132 for (idx = 0; idx < abbrev_length; idx++) | 132 for (idx = 0; idx < abbrev_length; idx++) |
133 { | 133 { |
134 if (DOWNCASE (closure->buf, | 134 if (CANONCASE (closure->buf, |
135 BUF_FETCH_CHAR (closure->buf, | 135 BUF_FETCH_CHAR (closure->buf, |
136 closure->point - abbrev_length + idx)) | 136 closure->point - abbrev_length + idx)) |
137 != DOWNCASE (closure->buf, itext_ichar (ptr))) | 137 != CANONCASE (closure->buf, itext_ichar (ptr))) |
138 { | 138 { |
139 break; | 139 break; |
140 } | 140 } |
141 INC_IBYTEPTR (ptr); | 141 INC_IBYTEPTR (ptr); |
142 } | 142 } |