mirror of
https://github.com/henrypp/simplewall.git
synced 2026-10-23 11:32:32 -05:00
type fix
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -9,7 +9,7 @@ void _app_logerror (LPCWSTR fn, DWORD errcode, LPCWSTR desc, bool is_nopopups)
|
||||
|
||||
_r_dbg (fn, errcode, desc);
|
||||
|
||||
if ((current_time - app.ConfigGet (L"ErrorNotificationsTimestamp", time_t (0)).AsLonglong ()) >= app.ConfigGet (L"ErrorNotificationsPeriod", time_t (4)).AsLonglong () && !is_nopopups && app.ConfigGet (L"IsErrorNotificationsEnabled", true).AsBool ()) // check for timeout (sec.)
|
||||
if ((current_time - app.ConfigGet (L"ErrorNotificationsTimestamp", 0LL).AsLonglong ()) >= app.ConfigGet (L"ErrorNotificationsPeriod", 4LL).AsLonglong () && !is_nopopups && app.ConfigGet (L"IsErrorNotificationsEnabled", true).AsBool ()) // check for timeout (sec.)
|
||||
{
|
||||
_r_tray_popup (app.GetHWND (), UID, NIIF_ERROR | (app.ConfigGet (L"IsNotificationsSound", true).AsBool () ? 0 : NIIF_NOSOUND), APP_NAME, app.LocaleString (IDS_STATUS_ERROR, nullptr));
|
||||
app.ConfigSet (L"ErrorNotificationsTimestamp", current_time);
|
||||
|
||||
Reference in new issue
Block a user