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:
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user