From c0b56e93118ba8b7587f91c98fe8b8f85f53fc73 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Sun, 2 Mar 2014 15:57:47 +0100 Subject: rename variable names to prevent hiding of names in outer scopes (bzr r13090) --- src/axis-manip.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3