ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/defaultfont.C
(Generate patch)

Comparing rxvt-unicode/src/defaultfont.C (file contents):
Revision 1.3 by pcg, Thu Nov 27 20:09:00 2003 UTC vs.
Revision 1.4 by pcg, Sat Nov 29 18:42:07 2003 UTC

270 270
271 if (t >= 0x2500 & t <= 0x2580 && linedraw_cmds[t - 0x2500]) 271 if (t >= 0x2500 & t <= 0x2580 && linedraw_cmds[t - 0x2500])
272 { 272 {
273 const char *p = linedraw_cmds[t - 0x2500]; 273 const char *p = linedraw_cmds[t - 0x2500];
274 274
275 int x0 = x, x1 = x + (r->TermWin.fwidth - 1) / 2, x2 = x + r->TermWin.fwidth - 1; 275 int x0 = x, x1 = x + r->TermWin.fwidth / 2, x2 = x + r->TermWin.fwidth ;
276 int y0 = y, y1 = y + (r->TermWin.fheight - 1) / 2, y2 = y + r->TermWin.fheight - 1; 276 int y0 = y, y1 = y + r->TermWin.fheight / 2, y2 = y + r->TermWin.fheight;
277 277
278 XGCValues gcv; 278 XGCValues gcv;
279
280 gcv.cap_style = CapButt;
281 XChangeGC (DISPLAY, GC, GCCapStyle, &gcv);
282 279
283 while (*p) 280 while (*p)
284 { 281 {
285 switch (*p++) 282 switch (*p++)
286 { 283 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines