mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-15 17:47:09 +00:00
Fix X error when border_width is <1.
This commit is contained in:
parent
04fd11b631
commit
c9f1625908
@ -4622,7 +4622,7 @@ char load_config_file(const char *f)
|
||||
CONF("border_width") {
|
||||
if (value) {
|
||||
window.border_width = strtol(value, 0, 0);
|
||||
if (window.border_width < 0) window.border_width = 0;
|
||||
if (window.border_width < 1) window.border_width = 1;
|
||||
} else {
|
||||
CONF_ERR;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user