mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-06-10 03:02:20 +00:00
This should be max, not min.
This commit is contained in:
parent
c6cbd61faf
commit
21dc2ca0b8
|
@ -1028,7 +1028,7 @@ static void draw_string(const char *s) {
|
|||
|
||||
#ifdef BUILD_GUI
|
||||
if (display_output() && display_output()->graphical()) {
|
||||
max = ((text_width - width_of_s) / std::min(1, get_string_width(" ")));
|
||||
max = ((text_width - width_of_s) / std::max(1, get_string_width(" ")));
|
||||
}
|
||||
#endif /* BUILD_GUI */
|
||||
/* This code looks for tabs in the text and coverts them to spaces.
|
||||
|
|
Loading…
Reference in New Issue
Block a user