diff options
Diffstat (limited to 'org/spine.org')
-rw-r--r-- | org/spine.org | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/org/spine.org b/org/spine.org index 1ecf248..27dfdc1 100644 --- a/org/spine.org +++ b/org/spine.org @@ -735,19 +735,15 @@ auto program_info() { return program_name; } string ver() { - string ver_ = format( - "%s.%s.%s", + return format("%s.%s.%s", _ver.major, _ver.minor, _ver.patch, ); - return ver_; } string compiler() { - string ver_ = format( - "%s D:%s, %s %s", + return format ("%s D:%s, %s %s", __VENDOR__, __VERSION__, bits, os, ); - return ver_; } } return ProgramInfo(); @@ -1355,8 +1351,7 @@ struct DocumentMatters { return program_info.ver; } string name_and_version() @trusted { - return format( - "%s-%s", + return format("%s-%s", name, ver, ); |