Skip to content

Commit fa9b143

Browse files
committed
Implemented review comments
1 parent dc83bff commit fa9b143

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

libs/driver/include/driver/MouseCoords.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ constexpr unsigned DOUBLE_CLICK_INTERVAL = 500;
2727
constexpr unsigned TOUCH_MAX_CLICK_INTERVAL = 250;
2828
constexpr unsigned TOUCH_DOUBLE_CLICK_INTERVAL = 175;
2929
// Max distance between the two clicks to trigger doubleclick
30-
constexpr unsigned TOUCH_MAX_DOUBLE_CLICK_DISTANCE = 30;
30+
constexpr unsigned TOUCH_MAX_DOUBLE_CLICK_DISTANCE = 30;

libs/rttrConfig/src/RttrConfig.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,8 @@ bool RttrConfig::Init()
144144
bfs::path RttrConfig::getEnvOverride(const std::string& id, const bfs::path& defaultPath)
145145
{
146146
bfs::path path = System::getPathFromEnvVar("RTTR_" + id + "_DIR");
147-
if(!path.empty())
148-
{
149-
LOG.write("Note: %1% path manually set to %2%\n", LogTarget::Stdout) % id % path;
150-
} else
147+
if(path.empty())
151148
return defaultPath;
152-
149+
LOG.write("Note: %1% path manually set to %2%\n", LogTarget::Stdout) % id % path;
153150
return path;
154151
}

0 commit comments

Comments
 (0)