mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 04:17:33 +00:00
Fix compiling without builtin config
This commit is contained in:
parent
e73da6b72e
commit
4ac40e6054
@ -2654,9 +2654,11 @@ void load_config_file()
|
||||
lua::stack_sentry s(l);
|
||||
l.checkstack(2);
|
||||
|
||||
#ifdef BUILD_BUILTIN_CONFIG
|
||||
if(current_config == builtin_config_magic)
|
||||
l.loadstring(defconfig);
|
||||
else
|
||||
#endif
|
||||
l.loadfile(current_config.c_str());
|
||||
l.call(0, 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user