openbsd-ports/x11/openmotif/patches/patch-lib_Xm_xsettings_c
2007-10-17 07:57:03 +00:00

15 lines
593 B
Plaintext

$OpenBSD: patch-lib_Xm_xsettings_c,v 1.1 2007/10/17 07:57:03 mbalmer Exp $
--- lib/Xm/xsettings.c.orig Tue Oct 16 08:28:15 2007
+++ lib/Xm/xsettings.c Tue Oct 16 08:31:43 2007
@@ -520,8 +520,9 @@ xsettings_client_get_setting (XSettingsClient *clien
const char *name,
XSettingsSetting **setting)
{
+ XSettingsSetting *search;
read_settings(client);
- XSettingsSetting *search = xsettings_list_lookup (client->settings, name);
+ search = xsettings_list_lookup (client->settings, name);
if (search)
{
*setting = xsettings_setting_copy (search);