1
0
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:
Brenden Matthews 2010-04-07 10:59:45 -07:00
parent 04fd11b631
commit c9f1625908
2 changed files with 5 additions and 5 deletions

View File

@ -4622,7 +4622,7 @@ char load_config_file(const char *f)
CONF("border_width") { CONF("border_width") {
if (value) { if (value) {
window.border_width = strtol(value, 0, 0); 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 { } else {
CONF_ERR; CONF_ERR;
} }