File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -27,4 +27,4 @@ constexpr unsigned DOUBLE_CLICK_INTERVAL = 500;
2727constexpr unsigned TOUCH_MAX_CLICK_INTERVAL = 250 ;
2828constexpr 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 ;
Original file line number Diff line number Diff line change @@ -144,11 +144,8 @@ bool RttrConfig::Init()
144144bfs::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}
You can’t perform that action at this time.
0 commit comments