[MAGNIFY] Minor fixes for zoom handling.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 15 Jun 2019 16:33:28 +0000 (18:33 +0200)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 15 Jun 2019 16:33:28 +0000 (18:33 +0200)
commit4e91b6d5dba722bc748bb5eda72fd8133e2bc730
treec8797fcd49f9e26402a9eaa89aa6fdfbf21bf39b
parent9ade0e7b04ede20a13a512780ada2631fd645416
[MAGNIFY] Minor fixes for zoom handling.

- Zoom factor is unsigned.
- It is comprised between 1 and 9, other values are invalid.
- Check for value validity when reading the zoom string from the combo-list.
base/applications/magnify/magnifier.c
base/applications/magnify/magnifier.h
base/applications/magnify/settings.c