1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-30 05:59:07 +00:00

Accept top_name_width on FreeBSD

It was inside #ifdef __linux__, though it is not Linux specific.

Signed-off-by: Alexander Graf <agraf@znc.in>
Signed-off-by: Pavel Labath <pavelo@centrum.sk>
This commit is contained in:
Alexander Graf 2010-05-23 19:03:02 +02:00 committed by Pavel Labath
parent 696d841e97
commit fbd7ad0152

View File

@ -3398,12 +3398,10 @@ char load_config_file(const char *f)
CONF("no_buffers") { CONF("no_buffers") {
no_buffers = string_to_bool(value); no_buffers = string_to_bool(value);
} }
#ifdef __linux__
CONF("top_name_width") { CONF("top_name_width") {
if (set_top_name_width(value)) if (set_top_name_width(value))
CONF_ERR; CONF_ERR;
} }
#endif /* __linux__ */
CONF("top_cpu_separate") { CONF("top_cpu_separate") {
cpu_separate = string_to_bool(value); cpu_separate = string_to_bool(value);
} }