fixed a bug that had been introduced by
me, when replacing Dlg_head * with void *.
Этот коммит содержится в:
родитель
390f69bc30
Коммит
7b0f17ad6a
@ -2,7 +2,8 @@
|
||||
|
||||
* ext.c: Fixed a typo which has been noted by Arpad Biro.
|
||||
* help.c: Fixed an invalid memory access, which has been noted
|
||||
by Vitja Makarov.
|
||||
by Vitja Makarov. And fixed a bug that had been introduced by
|
||||
me, when replacing Dlg_head * with void *.
|
||||
|
||||
2005-07-20 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
|
@ -548,9 +548,9 @@ help_event (Gpm_Event *event, void *data)
|
||||
|
||||
/* show help */
|
||||
static void
|
||||
help_help_cmd (void *data)
|
||||
help_help_cmd (void *v)
|
||||
{
|
||||
Dlg_head *h = data;
|
||||
Dlg_head *h = v;
|
||||
const char *p;
|
||||
|
||||
history_ptr = (history_ptr+1) % HISTORY_SIZE;
|
||||
@ -567,9 +567,9 @@ help_help_cmd (void *data)
|
||||
}
|
||||
|
||||
static void
|
||||
help_index_cmd (void *data)
|
||||
help_index_cmd (void *v)
|
||||
{
|
||||
Dlg_head *h = data;
|
||||
Dlg_head *h = v;
|
||||
const char *new_item;
|
||||
|
||||
if (!(new_item = search_string (data, "[Contents]"))) {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user