Mercurial > hg > xemacs-beta
view src/toolbar-common.h @ 4904:e91e3e353805
Don't compare the same octet with itself if checking for boyer_moore_ok
src/ChangeLog addition:
2010-01-31 Aidan Kehoe <kehoea@parhasard.net>
* search.c (search_buffer):
When checking the octets of c for identity, don't compare the
same octet with itself. Thank you Ben Wing!
tests/ChangeLog addition:
2010-01-31 Aidan Kehoe <kehoea@parhasard.net>
* automated/search-tests.el:
Check that multidimensional characters with repeated octets and
case information force simple_search(), since boyer_moore()
doesn't understand them when constructing its stride table.
In passing; correct my spelling.
* automated/case-tests.el (uni-mappings):
In passing; delete a couple of redundant tests, correct the logic
of another.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 31 Jan 2010 18:09:57 +0000 |
parents | c15f25529e61 |
children |
line wrap: on
line source
/* toolbar-common.h ** ** Description: ** ** Created by: William M. Perry ** Copyright (c) 2001 Free Software Foundation ** */ #ifndef __TOOLBAR_COMMON_H__ #define __TOOLBAR_COMMON_H__ extern void common_output_frame_toolbars (struct frame *f); extern void common_redraw_exposed_toolbars (struct frame *f, int x, int y, int width, int height); extern void common_redraw_frame_toolbars (struct frame *f); extern void common_output_toolbar_button (struct frame *f, Lisp_Object button); extern void common_clear_frame_toolbars (struct frame *f); #endif /* __TOOLBAR_COMMON_H__ */