Skip to content

Commit

Permalink
Some code reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
victoryforce committed Sep 13, 2024
1 parent 4050087 commit 0563e1a
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions src/common/darktable.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0563e1a

Please sign in to comment.