Fixed a segv that happened when I compiled with xinput=xfree, but had

no input devices.
This commit is contained in:
Raph Levien 1998-11-26 06:07:22 +00:00
parent b3c6723388
commit 484e10ac36
6 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Wed Nov 25 21:41:52 1998 Raph Levien <raph@gimp.org>
* app/devices.c (devices_restore): Fixed a segv - now it returns
when there are no devices configured.
Wed Nov 25 22:12:50 CET 1998 Marc Lehmann <pcg@goof.com>
* plug-ins/script-fu/scripts/line-nova.scm,

View File

@ -235,6 +235,9 @@ devices_restore()
tmp_list = tmp_list->next;
}
if (device_info == NULL)
return;
suppress_update = TRUE;
if (device_info->is_init)

View File

@ -235,6 +235,9 @@ devices_restore()
tmp_list = tmp_list->next;
}
if (device_info == NULL)
return;
suppress_update = TRUE;
if (device_info->is_init)

View File

@ -235,6 +235,9 @@ devices_restore()
tmp_list = tmp_list->next;
}
if (device_info == NULL)
return;
suppress_update = TRUE;
if (device_info->is_init)

View File

@ -235,6 +235,9 @@ devices_restore()
tmp_list = tmp_list->next;
}
if (device_info == NULL)
return;
suppress_update = TRUE;
if (device_info->is_init)

View File

@ -235,6 +235,9 @@ devices_restore()
tmp_list = tmp_list->next;
}
if (device_info == NULL)
return;
suppress_update = TRUE;
if (device_info->is_init)