diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2014-03-02 14:57:47 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2014-03-02 14:57:47 +0000 |
| commit | c0b56e93118ba8b7587f91c98fe8b8f85f53fc73 (patch) | |
| tree | 890e44f43178209ee54a842c9e606e4f4ab4ecc1 /src | |
| parent | Added some consts. Turned functions to member functions. (diff) | |
| download | inkscape-c0b56e93118ba8b7587f91c98fe8b8f85f53fc73.tar.gz inkscape-c0b56e93118ba8b7587f91c98fe8b8f85f53fc73.zip | |
rename variable names to prevent hiding of names in outer scopes
(bzr r13090)
Diffstat (limited to 'src')
| -rw-r--r-- | src/axis-manip.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/axis-manip.h b/src/axis-manip.h index d81da4164..9392e2ddd 100644 --- a/src/axis-manip.h +++ b/src/axis-manip.h @@ -238,11 +238,11 @@ inline Box3D::Axis get_perpendicular_axis_direction (Box3D::Axis dirs) { return Box3D::NONE; } -inline gchar * string_from_axes (Box3D::Axis axes) { +inline gchar * string_from_axes (Box3D::Axis axis) { GString *pstring = g_string_new(""); - if (axes & Box3D::X) g_string_append_printf (pstring, "X"); - if (axes & Box3D::Y) g_string_append_printf (pstring, "Y"); - if (axes & Box3D::Z) g_string_append_printf (pstring, "Z"); + if (axis & Box3D::X) g_string_append_printf (pstring, "X"); + if (axis & Box3D::Y) g_string_append_printf (pstring, "Y"); + if (axis & Box3D::Z) g_string_append_printf (pstring, "Z"); return pstring->str; } |
