From 3d769a6dcea4929a01d4ebf22c03f17959326b93 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Mon, 14 Aug 2023 11:01:28 +0400 Subject: [PATCH] Get rid of cForceWorkingDir(cWorkingDir()) It has no sense as no code sets working directory directly to the variable anymore. --- Telegram/SourceFiles/logs.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Telegram/SourceFiles/logs.cpp b/Telegram/SourceFiles/logs.cpp index 56c8471b0..3ffa46bd0 100644 --- a/Telegram/SourceFiles/logs.cpp +++ b/Telegram/SourceFiles/logs.cpp @@ -364,7 +364,6 @@ void start() { if (!cWorkingDir().isEmpty()) { // This value must come from TelegramForcePortable - cForceWorkingDir(cWorkingDir()); workingDirChosen = true; } else { #if !defined _DEBUG || defined OS_MAC_STORE @@ -387,7 +386,6 @@ void start() { if (!cWorkingDir().isEmpty()) { // This value must come from TelegramForcePortable - cForceWorkingDir(cWorkingDir()); workingDirChosen = true; }