diff --git a/src/gui/imageinfo_ni.cpp b/src/gui/imageinfo_ni.cpp index 3de35b294..d10f36a3d 100644 --- a/src/gui/imageinfo_ni.cpp +++ b/src/gui/imageinfo_ni.cpp @@ -49,6 +49,10 @@ #include #include #include +#ifdef ENABLE_LUA +#include +#endif +#include #include #include @@ -311,8 +315,13 @@ void CImageInfoNI::paint() paintLine(xpos, font_info, "Kernel:"); paintLine(xpos+offset, font_info, uname(&uts_info) < 0 ? "n/a" : uts_info.release); +#ifdef ENABLE_LUA ypos += iheight; + paintLine(xpos, font_info, "Lua-API:"); + paintLine(xpos+offset, font_info, to_string(LUA_API_VERSION_MAJOR) + "." + to_string(LUA_API_VERSION_MINOR)); +#endif + ypos += iheight; paintLine(xpos, font_info, g_Locale->getText(LOCALE_IMAGEINFO_DATE)); paintLine(xpos+offset, font_info, builddate );