diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-07-22 20:33:48 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-07-22 23:15:57 +0000 |
| commit | 624aeeae6ae43c2c298462cbd1108f2e5ad7fbef (patch) | |
| tree | dd202b8cbd2088698ce8281d9d024d91643b5e42 /src/document.cpp | |
| parent | Update jhbuild (diff) | |
| download | inkscape-624aeeae6ae43c2c298462cbd1108f2e5ad7fbef.tar.gz inkscape-624aeeae6ae43c2c298462cbd1108f2e5ad7fbef.zip | |
Preferences: add methods to set/get unsigned integers
Those should be used for RGBA color values, which would overflow
the signed type otherwise.
Replacement will be seamless and fully backwards-compatible, as we
can read the overflowed (i.e. negative) signed integers we used to
save and they will be properly unwrapped.
Also reading the unsigned ints as signed ints in older versions of
Inkscape will still work, as we always depended on the undefined
behavior of atoi in case of out of range numbers (which luckily is
means overflowing in gcc).
Diffstat (limited to 'src/document.cpp')
0 files changed, 0 insertions, 0 deletions
