tresize: move for loop outside if
authornoname@inventati.org <noname@inventati.org>
Sat, 11 Apr 2015 17:29:52 +0000 (19:29 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Mon, 13 Apr 2015 07:21:03 +0000 (09:21 +0200)
commit6352502d644d8295ceb2cdf68a5ecbac0891d4a6
tree5a7069813cb3650c87c95c97cca24fd5eec07260
parentb9390a54968c3bc4f4270afdcf5b85911df01611
tresize: move for loop outside if

There is no need to check that slide > 0 before executing loop.
If slide <= 0, loop stops immediately.
st.c