From 0563e1ab75cf2d6f2273943776f002c3b13ade88 Mon Sep 17 00:00:00 2001 From: Victor Forsiuk Date: Fri, 13 Sep 2024 20:52:35 +0300 Subject: [PATCH] Some code reformatting --- src/common/darktable.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/common/darktable.c b/src/common/darktable.c index bad898c1a674..e95c241e7e74 100644 --- a/src/common/darktable.c +++ b/src/common/darktable.c @@ -764,16 +764,18 @@ static char *_get_version_string(void) #endif #ifdef USE_LUA - const char *lua_api_version = strcmp(LUA_API_VERSION_SUFFIX, "") ? - STR(LUA_API_VERSION_MAJOR) "." - STR(LUA_API_VERSION_MINOR) "." - STR(LUA_API_VERSION_PATCH) "-" - LUA_API_VERSION_SUFFIX : - STR(LUA_API_VERSION_MAJOR) "." - STR(LUA_API_VERSION_MINOR) "." - STR(LUA_API_VERSION_PATCH) "\n"; -#endif -char *version = g_strdup_printf("darktable %s\nCopyright (C) 2012-%s Johannes Hanika and other contributors.\n\n" + const char *lua_api_version = strcmp(LUA_API_VERSION_SUFFIX, "") ? + STR(LUA_API_VERSION_MAJOR) "." + STR(LUA_API_VERSION_MINOR) "." + STR(LUA_API_VERSION_PATCH) "-" + LUA_API_VERSION_SUFFIX : + STR(LUA_API_VERSION_MAJOR) "." + STR(LUA_API_VERSION_MINOR) "." + STR(LUA_API_VERSION_PATCH) "\n"; +#endif +char *version = g_strdup_printf( + "darktable %s\n" + "Copyright (C) 2012-%s Johannes Hanika and other contributors.\n\n" "Compile options:\n" " Bit depth -> %zu bit\n" "%s%s%s%s%s\n"