mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-06 05:44:11 +01:00
- Fixed bug with wrong text wrapping (Alexey Voinov <voins@voins.program.ru>)
This commit is contained in:
@@ -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