diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-10-25 05:33:24 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-10-25 05:33:24 +0000 |
| commit | 4da0f782dab1c1706be555e8de68552ab5e20a31 (patch) | |
| tree | 10aab4ecda45783ff1074cba8116dee39afc2573 /src/xml/repr-util.cpp | |
| parent | preserve clip/mask for stroke-to-path also (diff) | |
| download | inkscape-4da0f782dab1c1706be555e8de68552ab5e20a31.tar.gz inkscape-4da0f782dab1c1706be555e8de68552ab5e20a31.zip | |
switch pref/repr utility methods to using long long ints; with
out it, we cannot even store an rgba32 color in an attribute\!
(bzr r1860)
Diffstat (limited to 'src/xml/repr-util.cpp')
| -rw-r--r-- | src/xml/repr-util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xml/repr-util.cpp b/src/xml/repr-util.cpp index 83231e5da..42b957d43 100644 --- a/src/xml/repr-util.cpp +++ b/src/xml/repr-util.cpp @@ -319,7 +319,7 @@ double sp_repr_get_double_attribute(Inkscape::XML::Node *repr, char const *key, return g_ascii_strtod(result, NULL); } -int sp_repr_get_int_attribute(Inkscape::XML::Node *repr, char const *key, int def) +long long int sp_repr_get_int_attribute(Inkscape::XML::Node *repr, char const *key, long long int def) { char *result; @@ -330,7 +330,7 @@ int sp_repr_get_int_attribute(Inkscape::XML::Node *repr, char const *key, int de if (result == NULL) return def; - return atoi(result); + return atoll(result); } /** |
