win: avoid div by 0. CID1421876

This commit is contained in:
Boris Faure 2020-03-19 09:27:57 +01:00
parent 901e9692c1
commit 00f08812be
Signed by untrusted user who does not match committer: borisfaure
GPG Key ID: 35C0410516166BE8
1 changed files with 2 additions and 0 deletions

View File

@ -3011,6 +3011,8 @@ _term_on_horizontal_drag(void *data,
tabs = (Tabs*) tc_parent;
n = eina_list_count(tabs->tabs);
if (n <= 1)
return;
tab_item = tabs->current;