Skip to content

Commit 3224586

Browse files
committed
rename autoOpenDownloadUrl to auto_open_download_url for snake-case consistency
1 parent ee588ee commit 3224586

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

auth.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ void KeyAuth::api::init()
598598
{
599599
std::string dl = json[(XorStr("download"))];
600600
api::app_data.downloadLink = dl;
601-
if (autoOpenDownloadUrl) {
601+
if (auto_open_download_url) {
602602
if (dl.empty()) {
603603
MessageBoxA(0, XorStr("Version in the loader does not match the one on the dashboard, and the download link on dashboard is blank.\n\nTo fix this, either fix the loader so it matches the version on the dashboard. Or if you intended for it to have different versions, update the download link on dashboard so it will auto-update correctly.").c_str(), NULL, MB_ICONERROR);
604604
}

auth.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ namespace KeyAuth {
5959
bool block_proxy = false;
6060
bool block_custom_ca = false;
6161
bool block_private_dns = false;
62-
bool autoOpenDownloadUrl = true;
62+
bool auto_open_download_url = true;
6363
static std::string expiry_remaining(const std::string& expiry);
6464
static constexpr const char* kSavePath = "test.json";
6565
static constexpr int kInitFailSleepMs = 1500;

0 commit comments

Comments
 (0)