* view.c (save_edit_changes): Renamed to
view_hexedit_save_changes().
Этот коммит содержится в:
родитель
f6f90ed34f
Коммит
26c2f7fc50
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
* view.c (struct WView): Moved the growing buffer variables
|
* view.c (struct WView): Moved the growing buffer variables
|
||||||
between the data source and the display section.
|
between the data source and the display section.
|
||||||
|
* view.c (save_edit_changes): Renamed to
|
||||||
|
view_hexedit_save_changes().
|
||||||
|
|
||||||
2005-04-17 Roland Illig <roland.illig@gmx.de>
|
2005-04-17 Roland Illig <roland.illig@gmx.de>
|
||||||
|
|
||||||
|
@ -487,7 +487,7 @@ free_change_list (WView *view)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
save_edit_changes (WView *view)
|
view_hexedit_save_changes (WView *view)
|
||||||
{
|
{
|
||||||
struct hexedit_change_node *curr, *next;
|
struct hexedit_change_node *curr, *next;
|
||||||
int fp, answer;
|
int fp, answer;
|
||||||
@ -552,7 +552,7 @@ view_ok_to_quit (WView *view)
|
|||||||
|
|
||||||
switch (r) {
|
switch (r) {
|
||||||
case 1:
|
case 1:
|
||||||
return save_edit_changes (view);
|
return view_hexedit_edit_changes (view);
|
||||||
case 2:
|
case 2:
|
||||||
free_change_list (view);
|
free_change_list (view);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
@ -2083,7 +2083,7 @@ regexp_search (WView *view, int direction)
|
|||||||
if (view->hex_mode) {
|
if (view->hex_mode) {
|
||||||
/* Save it without a confirmation prompt */
|
/* Save it without a confirmation prompt */
|
||||||
if (view->change_list)
|
if (view->change_list)
|
||||||
save_edit_changes (view);
|
view_hexedit_save_changes (view);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user