* view.c (display): Recognize "+\bo" as a list item in nroff mode.
* view.c (hex_search): Added const qualifier.
Этот коммит содержится в:
родитель
c060826178
Коммит
bf256d7e04
@ -1,3 +1,8 @@
|
||||
2004-09-25 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* view.c (display): Recognize "+\bo" as a list item in nroff mode.
|
||||
* view.c (hex_search): Added const qualifier.
|
||||
|
||||
2004-09-25 Pavel Shirshov <pavelsh@mail.ru>
|
||||
|
||||
* boxes.c (configure_vfs): g_free handles NULL argument too,
|
||||
|
@ -1083,7 +1083,8 @@ display (WView *view)
|
||||
&& is_printable ((c_next = get_byte (view, from + 1)))
|
||||
&& from > view->first
|
||||
&& is_printable ((c_prev = get_byte (view, from - 1)))
|
||||
&& (c_prev == c_next || c_prev == '_')) {
|
||||
&& (c_prev == c_next || c_prev == '_'
|
||||
|| (c_prev == '+' && c_next == 'o'))) {
|
||||
if (col <= frame_shift) {
|
||||
/* So it has to be wrap_mode - do not need to check for it */
|
||||
if (row == 1 + frame_shift) {
|
||||
@ -1843,7 +1844,7 @@ hex_search (WView *view, const char *text)
|
||||
|
||||
/* Try quoted string, strip quotes */
|
||||
if (*text == '"') {
|
||||
char *next_quote;
|
||||
const char *next_quote;
|
||||
|
||||
text++;
|
||||
next_quote = strchr (text, '"');
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user