From b833c28eaa95f31cb12e9265d7683a670eacfdc3 Mon Sep 17 00:00:00 2001 From: "Vladimir N. Korotenko" Date: Sat, 22 Nov 2025 13:12:16 +0300 Subject: [PATCH] Close #12 tupo in file --- dm-cli/common.hpp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/dm-cli/common.hpp b/dm-cli/common.hpp index 9319d62..a6ee6a0 100644 --- a/dm-cli/common.hpp +++ b/dm-cli/common.hpp @@ -9,8 +9,8 @@ #define ACCOUNT_STATUS_RU "account_status_ru.txt" #define ACCOUNT_STATUS_EN "account_status_en.txt" -#define ACCOUNT_UPDATE_RU "account_update_en.txt" -#define ACCOUNT_UPDATE_EN "account_update_ru.txt" +#define ACCOUNT_UPDATE_RU "account_update_ru.txt" +#define ACCOUNT_UPDATE_EN "account_update_en.txt" #define DEALS_EN "deals_en.txt" #define DEALS_RU "deals_ru.txt" @@ -21,17 +21,12 @@ #define DEAL_COMPLETE_RU "deal_complete_ru.txt" #define DEAL_COMPLETE_EN "deal_complete_en.txt" - #define DEAL_CANCEL_RU "deal_cancel_ru.txt" #define DEAL_CANCEL_EN "deal_cancel_en.txt" #define DEAL_NEGATIVE_RU "deal_negative_ru.txt" #define DEAL_NEGATIVE_EN "deal_negative_en.txt" - - - - // LANG=ru_RU.UTF-8 #define LANG_RU "ru_RU.UTF-8" #define DEFAULTADDRESS "http://127.0.0.1:4999" @@ -42,7 +37,6 @@ #define DEAL_CREATE_TPL "tpl/deal_create.txt" - /* Show help screen. */ @@ -56,7 +50,7 @@ std::string ReadFile(const char *filename); std::string Replace(std::string source, std::string from, std::string out); /// @breef Replace all entryes in string -std::string ReplaceAll(std::string str, const std::string& from, const std::string& to); +std::string ReplaceAll(std::string str, const std::string &from, const std::string &to); /// @breef Вывод сообщения о таймауте или пустой строке ответа int NoResponse(std::string mgs);