File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,9 @@ struct _t1WireDevice
81
81
std::string devid;
82
82
std::string filename;
83
83
84
- bool operator <(_t1WireDevice other) const
85
- {
86
- return devid > other.devid ;
84
+ bool operator <(_t1WireDevice other) const
85
+ {
86
+ return devid > other.devid ;
87
87
}
88
88
};
89
89
Original file line number Diff line number Diff line change @@ -2453,16 +2453,17 @@ bool CSQLHelper::OpenDatabase()
2453
2453
nValue = 5 ;
2454
2454
UpdatePreferencesVar (" ShortLogInterval" , nValue);
2455
2455
}
2456
+ if (nValue < 1 )
2457
+ nValue = 5 ;
2458
+ m_ShortLogInterval = nValue;
2459
+
2456
2460
if (!GetPreferencesVar (" SendErrorsAsNotification" , nValue))
2457
2461
{
2458
2462
UpdatePreferencesVar (" SendErrorsAsNotification" , 0 );
2459
2463
nValue = 0 ;
2460
2464
}
2461
2465
_log.ForwardErrorsToNotificationSystem (nValue != 0 );
2462
2466
2463
- if (nValue < 1 )
2464
- nValue = 5 ;
2465
- m_ShortLogInterval = nValue;
2466
2467
// Start background thread
2467
2468
if (!StartThread ())
2468
2469
return false ;
You can’t perform that action at this time.
0 commit comments