diff -upr mlterm-3.0.1.org/xwindow/x_draw_str.c mlterm-3.0.1.underline/xwindow/x_draw_str.c --- mlterm-3.0.1.org/xwindow/x_draw_str.c 2010-06-07 22:49:44.000000000 +0900 +++ mlterm-3.0.1.underline/xwindow/x_draw_str.c 2010-10-07 21:04:26.000000000 +0900 @@ -392,11 +392,12 @@ xft_draw_str( } else { + const u_int line_height = ((height_to_baseline - bottom_margin)>>4) +1; x_window_fill_with( window , x_get_xcolor( color_man , fg_color) , - x , y + height_to_baseline , + x , y + height - line_height, current_width - x , - ((height_to_baseline - bottom_margin)>>4) +1 ) ; + line_height ) ; } } @@ -913,11 +914,12 @@ xcore_draw_str( } else { + const u_int line_height = ((height_to_baseline - bottom_margin)>>4) +1; x_window_fill_with( window , x_get_xcolor( color_man , fg_color) , - x , y + height_to_baseline , + x , y + height - line_height, current_width - x , - ((height_to_baseline - bottom_margin)>>4) +1 ) ; + line_height ) ; } }