1
1
coord.vc_line = line;
    view_ccache_complete (view, &coord, CCACHE_OFFSET);
    return coord.offset;
Этот коммит содержится в:
Roland Illig 2005-04-26 15:06:38 +00:00
родитель 81306e3b78
Коммит 2404c633d0
2 изменённых файлов: 9 добавлений и 4 удалений

Просмотреть файл

@ -1,3 +1,8 @@
2005-04-26 Roland Illig <roland.illig@gmx.de>
* view.c: Added some calls to str_unconst() to get rid of the
GCC warnings.
2005-04-25 Roland Illig <roland.illig@gmx.de>
* view.c (view_move_forward2): Fixed a bug related to the return

Просмотреть файл

@ -755,7 +755,7 @@ view_percent (WView *view, offset_type p)
percent = p * 100 / filesize;
widget_move (view, view->dpy_frame_size, xpos);
printw ("%3d%%", percent);
printw (str_unconst ("%3d%%"), percent);
}
static void
@ -824,7 +824,7 @@ view_display_clean (WView *view, int height, int width)
view->widget.cols);
for (i = 1; i < height; i++) {
widget_move (view, i, 1);
printw ("%*s", width - 1, "");
printw (str_unconst ("%*s"), width - 1, "");
}
} else
widget_erase ((Widget *) view);
@ -2069,7 +2069,7 @@ goto_addr (WView *view)
static void
regexp_search (WView *view, int direction)
{
char *regexp = "";
char *regexp = str_unconst ("");
static char *old = 0;
/* This is really an F6 key handler */
@ -2109,7 +2109,7 @@ static void
normal_search (WView *view)
{
static char *old;
char *exp = old ? old : "";
char *exp = old ? old : str_unconst ("");
enum {
SEARCH_DLG_HEIGHT = 8,