aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/util/version.cpp
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2023-09-17 01:45:16 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2023-09-17 01:45:16 +0200
commit5cbe9f7317899cd815b38d9f083bc99738fc1dd3 (patch)
tree9afdce5ae5e76f68be85c25a84afcff86f31d3f8 /NorthstarDLL/util/version.cpp
parentb7823492e802456d44e4919940267081bf436f08 (diff)
downloadNorthstarLauncher-5cbe9f7317899cd815b38d9f083bc99738fc1dd3.tar.gz
NorthstarLauncher-5cbe9f7317899cd815b38d9f083bc99738fc1dd3.zip
test ci format checkindentation-test
Diffstat (limited to 'NorthstarDLL/util/version.cpp')
-rw-r--r--NorthstarDLL/util/version.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/NorthstarDLL/util/version.cpp b/NorthstarDLL/util/version.cpp
index 1ad62438..d81f0e23 100644
--- a/NorthstarDLL/util/version.cpp
+++ b/NorthstarDLL/util/version.cpp
@@ -17,23 +17,23 @@ void InitialiseVersion()
{
sprintf(version, "%d.%d.%d.%d+dev", northstar_version[0], northstar_version[1], northstar_version[2], northstar_version[3]);
ua_len += snprintf(
- NSUserAgent + ua_len,
- sizeof(NSUserAgent) - ua_len,
- "R2Northstar/%d.%d.%d+dev",
- northstar_version[0],
- northstar_version[1],
- northstar_version[2]);
+ NSUserAgent + ua_len,
+ sizeof(NSUserAgent) - ua_len,
+ "R2Northstar/%d.%d.%d+dev",
+ northstar_version[0],
+ northstar_version[1],
+ northstar_version[2]);
}
else
{
sprintf(version, "%d.%d.%d.%d", northstar_version[0], northstar_version[1], northstar_version[2], northstar_version[3]);
ua_len += snprintf(
- NSUserAgent + ua_len,
- sizeof(NSUserAgent) - ua_len,
- "R2Northstar/%d.%d.%d",
- northstar_version[0],
- northstar_version[1],
- northstar_version[2]);
+ NSUserAgent + ua_len,
+ sizeof(NSUserAgent) - ua_len,
+ "R2Northstar/%d.%d.%d",
+ northstar_version[0],
+ northstar_version[1],
+ northstar_version[2]);
}
if (IsDedicatedServer())
@@ -75,12 +75,12 @@ void InitialiseVersion()
// windows version
if (osvi.dwMajorVersion)
ua_len += snprintf(
- NSUserAgent + ua_len,
- sizeof(NSUserAgent) - ua_len,
- " Windows/%d.%d.%d",
- osvi.dwMajorVersion,
- osvi.dwMinorVersion,
- osvi.dwBuildNumber);
+ NSUserAgent + ua_len,
+ sizeof(NSUserAgent) - ua_len,
+ " Windows/%d.%d.%d",
+ osvi.dwMajorVersion,
+ osvi.dwMinorVersion,
+ osvi.dwBuildNumber);
// wine version
if (wine_version && wine_build_id)