elm genlist_example_02.c: Fixed = vs == bug

Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69371
This commit is contained in:
Daniel Juyung Seo 2012-03-15 11:18:15 +00:00 committed by Daniel Juyung Seo
parent 6d3bdc4a82
commit 4fce6bd763
1 changed files with 2 additions and 2 deletions

View File

@ -130,9 +130,9 @@ elm_main(int argc __UNUSED__, char **argv __UNUSED__)
always = no_sel = EINA_FALSE;
sel_mode = elm_genlist_select_mode_get(list);
if (sel_mode = ELM_OBJECT_SELECT_MODE_ALWAYS)
if (sel_mode == ELM_OBJECT_SELECT_MODE_ALWAYS)
always = EINA_TRUE;
else if (sel_mode = ELM_OBJECT_SELECT_MODE_NONE)
else if (sel_mode == ELM_OBJECT_SELECT_MODE_NONE)
no_sel = EINA_TRUE;
printf("default values:\n");