From 69e3c43df1c96bc2ac8946bf4dfb1f5fc438ff7f Mon Sep 17 00:00:00 2001 From: aosipenko <aosipenko@yandex-team.ru> Date: Thu, 10 Feb 2022 16:48:08 +0300 Subject: Restoring authorship annotation for <aosipenko@yandex-team.ru>. Commit 2 of 2. --- library/cpp/getopt/small/opt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'library/cpp/getopt/small/opt.cpp') diff --git a/library/cpp/getopt/small/opt.cpp b/library/cpp/getopt/small/opt.cpp index ee44f7c77d..744501765c 100644 --- a/library/cpp/getopt/small/opt.cpp +++ b/library/cpp/getopt/small/opt.cpp @@ -25,7 +25,7 @@ void Opt::Init(int argc, char* argv[], const char* optString, const Ion* longOpt Opts_.Reset(new TOptsNoDefault(optString)); for (const Ion* o = longOptions; o != nullptr && o->name != nullptr; ++o) { TOpt* opt; - if ((unsigned)o->val < 0x80 && isalnum(o->val)) { + if ((unsigned)o->val < 0x80 && isalnum(o->val)) { opt = &Opts_->CharOption(char(o->val)); opt->AddLongName(o->name); } else { @@ -73,7 +73,7 @@ int Opt::Get(int* longOptionIndex) { return 1; } else { const Ion* ion = (const Ion*)OptsParser_->CurOpt()->UserValue(); - if (longOptionIndex) { + if (longOptionIndex) { *longOptionIndex = int(ion - Ions_); } char c = OptsParser_->CurOpt()->GetCharOr0(); -- cgit v1.2.3