diff options
author | Andy Shaw <andy.shaw@digia.com> | 2014-07-22 15:59:45 +0200 |
---|---|---|
committer | Andy Shaw <andy.shaw@digia.com> | 2014-08-07 10:07:41 +0200 |
commit | 51ff0449344cfb110f316288f44d6300340787dd (patch) | |
tree | 6d8dd1b8b51e93907d864e75dbb359d95cb09f8b /src/gui | |
parent | 8306dee38f4e315399a465b028819b0777746c55 (diff) |
Check if Start/EndPage returns non-positive value when error checking
StartPage and EndPage are documented to return a non-positive value (0 or
less) when they fail, therefore it is not enough to check if !StartPage.
Checking if is 0 or less is more accurate.
Change-Id: Ia0ff43da4e4309ba0a5983e91a0ad583aad0a955
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions