X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-output-view.c;h=ca3f9dc60523d0e775584ef478fe3d5f812acee4;hb=7b1373b8bded55eedc2328c1afd3eece6d259c34;hp=d1621ba91d363de599a6d521a42d7d532b7eedf2;hpb=8f44a1cc08d35ad66757fcded8a59a8a2e06b0f6;p=pspp diff --git a/src/ui/gui/psppire-output-view.c b/src/ui/gui/psppire-output-view.c index d1621ba91d..ca3f9dc605 100644 --- a/src/ui/gui/psppire-output-view.c +++ b/src/ui/gui/psppire-output-view.c @@ -222,8 +222,8 @@ rerender (struct psppire_output_view *view) xr_rendering_measure (r, &tw, &th); guint w = gdk_window_get_width (gdkw); - gint xpos = (gtk_widget_get_direction (GTK_WIDGET (view->output)) == - GTK_TEXT_DIR_RTL) ? w - tw : 0; + const gint gutter = 5; + gint xpos = (gtk_widget_get_direction (GTK_WIDGET (view->output)) == GTK_TEXT_DIR_RTL) ? w - tw - gutter: gutter; if (!item->drawing_area) {