forked from enlightenment/efl
ximimmodule: remove useless code in preedit_string_get
'cursor_pos' variable will be set in the below code, so 'cursor_pos = 0' is useless.
This commit is contained in:
parent
ae7fd6fac0
commit
0eb5cfaa30
|
@ -227,8 +227,6 @@ _ecore_imf_context_xim_preedit_string_get(Ecore_IMF_Context *ctx,
|
|||
{
|
||||
if (str)
|
||||
*str = NULL;
|
||||
if (cursor_pos)
|
||||
*cursor_pos = 0;
|
||||
}
|
||||
|
||||
if (cursor_pos)
|
||||
|
|
Loading…
Reference in New Issue