mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-22 07:17:05 +01:00
- Fixed bug with wrong text wrapping (Alexey Voinov <voins@voins.program.ru>)
This commit is contained in:
1 parent
a4c986fa1b
commit
c131f14d3e
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -101,7 +101,7 @@ fitText(char *text, WMFont *font, int width, int wrap)
|
||||
i = 0;
|
||||
if (wrap) {
|
||||
if (text[0]=='\n')
|
||||
return 1;
|
||||
return 0;
|
||||
|
||||
do {
|
||||
i++;
|
||||
|
||||
Reference in new issue
Block a user