oops. Always use curly braces…

This commit is contained in:
Boris Faure 2016-01-27 20:17:15 +01:00
parent 98671b2493
commit 84c1c77757
1 changed files with 8 additions and 6 deletions

View File

@ -2335,12 +2335,14 @@ termio_take_selection(Evas_Object *obj, Elm_Sel_Type type)
}
}
else
if (sd->link.string)
{
len = strlen(sd->link.string);
s = strndup(sd->link.string, len);
}
return;
{
if (sd->link.string)
{
len = strlen(sd->link.string);
s = strndup(sd->link.string, len);
}
return;
}
if (sd->pty->selection.is_box)
{