1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-14 04:45:57 +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

@@ -4,6 +4,7 @@ Changes since wmaker 0.80.0:
- fixed a bug in wfindfile() (rewrote wfindfile() with better logic).
- separated the font caches for normal fonts and fontsets in WINGs (they can
have the same names and collide in the cache giving unwanted results)
- fixed labels not to display '\n' as a character if multiple '\n' are passed
Changes since wmaker 0.70.0:

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;
}