From 0fb45b0a22433a1ff09b102b382d7213bd03c450 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 7 Nov 2011 23:04:25 +0000 Subject: [PATCH] leif, you're killing me with these. SVN revision: 64897 --- src/modules/conf_randr/e_int_config_randr_policies.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/conf_randr/e_int_config_randr_policies.c b/src/modules/conf_randr/e_int_config_randr_policies.c index 5bebb87..419533b 100644 --- a/src/modules/conf_randr/e_int_config_randr_policies.c +++ b/src/modules/conf_randr/e_int_config_randr_policies.c @@ -39,18 +39,18 @@ _e_config_randr_dialog_subdialog_policies_radio_add_callbacks(void) e_config_randr_dialog_subdialog_policies_create_data(E_Config_Dialog_Data *e_config_runtime_info) { E_Config_Randr_Dialog_Output_Dialog_Data *odd; - E_Randr_Output_Info *oi; Eina_List *iter; if (!e_config_runtime_info || !e_config_runtime_info->output_dialog_data_list) return EINA_FALSE; EINA_LIST_FOREACH(e_config_runtime_info->output_dialog_data_list, iter, odd) { + E_Randr_Output_Info *oi; if (odd->crtc) oi = eina_list_data_get(eina_list_last(odd->crtc->outputs)); else if (odd->output) oi = odd->output; - if (!oi) continue; + else continue; odd->previous_policy = oi->policy; odd->new_policy = Ecore_X_Randr_Unset; } -- 2.7.4