Mercurial > octave
changeset 26430:a665b4823da9 stable
gl-render.cc (draw_axes_x_grid): Fix copy & paste error (bug #55390).
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 05 Jan 2019 12:45:50 +0100 |
parents | ba8493779dc8 |
children | 7fb7229d6c51 |
files | libinterp/corefcn/gl-render.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/gl-render.cc Sat Jan 05 11:34:47 2019 +0100 +++ b/libinterp/corefcn/gl-render.cc Sat Jan 05 12:45:50 2019 +0100 @@ -1553,7 +1553,7 @@ { y_axis_pos = math::max (math::min (0., y_max), y_min); m_glfcns.glBegin (GL_LINES); - set_color (props.get_ycolor_rgb ()); + set_color (props.get_xcolor_rgb ()); m_glfcns.glVertex3d (x_min, y_axis_pos, zpTick); m_glfcns.glVertex3d (x_max, y_axis_pos, zpTick); m_glfcns.glEnd ();