[MAGNIFY] Fix a string buffer misuage that led to division by zero exception. (#1655) 1655/head
authorBișoc George <fraizeraust99@gmail.com>
Fri, 14 Jun 2019 18:52:41 +0000 (20:52 +0200)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 15 Jun 2019 16:12:54 +0000 (18:12 +0200)
commit9ade0e7b04ede20a13a512780ada2631fd645416
treed265ee6c5c7f859a53777eb8163ed647df5518f5
parentb13990bd789a6e2bc9b0f9230cfeafefeba9c780
[MAGNIFY] Fix a string buffer misuage that led to division by zero exception. (#1655)

The iZoom variable was wrongly initialized to zero because the _ttoi()
called failed due to the fact the temporary string buffer was too small.
base/applications/magnify/magnifier.c