*** empty log message ***
authorpcg <pcg>
Thu, 4 Mar 2004 00:40:06 +0000 (00:40 +0000)
committerpcg <pcg>
Thu, 4 Mar 2004 00:40:06 +0000 (00:40 +0000)
src/defaultfont.C

index 4d044327a8d1dfef4b728121b777ee4a2b812765..e425eae6c3d8d167304f0676e80f6800de5a0e07 100644 (file)
@@ -316,8 +316,8 @@ rxvt_font_default::draw (rxvt_drawable &d, int x, int y,
         {
           const char *p = linedraw_cmds[t - 0x2500];
 
-          int x0 = x, x1 = x + r->TermWin.fwidth  / 2, x2 = x + r->TermWin.fwidth  - 1;
-          int y0 = y, y1 = y + r->TermWin.fheight / 2, y2 = y + r->TermWin.fheight - 1;
+          int x0 = x, x1 = x + (r->TermWin.fwidth  - 1) / 2, x2 = x + r->TermWin.fwidth  - 1;
+          int y0 = y, y1 = y + (r->TermWin.fheight - 1) / 2, y2 = y + r->TermWin.fheight - 1;
 
           XGCValues gcv;