1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-22 10:05:46 +01:00

- Fixed labels not to display '\n' as a character if multiple '\n' are passed

- Fixed Legal Panel not to display rectangles in place of new lines.
- Removed some obsoleted/unused files from cvs
- Fixed a bug with Sloppy focus when changing workspaces (from a debian user
  bug report/patch)
This commit is contained in:
dan
2002-01-05 01:35:30 +00:00
parent cab71ba6a1
commit 501c3f48b8
9 changed files with 16 additions and 268 deletions

View File

@@ -176,11 +176,14 @@ W_PaintText(W_View *view, Drawable d, WMFont *font, int x, int y,
WMDrawString(view->screen, d, gc, font, line_x, y, ptr, count);
y += fheight;
if (wrap && ptr[count]!='\n')
y += fheight;
while (ptr[count] && ptr[count]=='\n') {
y += fheight;
count++;
}
if (isspace(ptr[count]))
count++;
ptr += count;
length -= count;
}