1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-18 02:55:12 +00:00

Improve unknown var error

This commit is contained in:
Nikolas Garofil 2010-04-16 00:20:08 +02:00
parent 131ceb5ccf
commit 0ab87b40a5

View File

@ -1631,7 +1631,7 @@ struct text_object *construct_text_object(char *s, const char *arg, long
END { END {
char *buf = (char *)malloc(text_buffer_size); char *buf = (char *)malloc(text_buffer_size);
NORM_ERR("unknown variable %s", s); NORM_ERR("unknown variable '$%s'", s);
snprintf(buf, text_buffer_size, "${%s}", s); snprintf(buf, text_buffer_size, "${%s}", s);
obj_be_plain_text(obj, buf); obj_be_plain_text(obj, buf);
free(buf); free(buf);