1
0
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:
Nikolas Garofil 2010-11-14 01:25:11 +01:00
parent e73da6b72e
commit 4ac40e6054

View File

@ -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);