mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 01:26:21 +00:00
fix: Fix removal of entries in account file
Commit81f92f1feintroduced a selective update mechanism to _accounts_save() to prevent overwrites when running multiple instances by only modifying the specific account being saved. Commit 5c484c fixed a problem with that commit regarding empty accounts. It turns there was another bug introduced: The new implementation only set the keys that existed in memory. So removal of keys was not possible anymore. Fixes:81f92f1fedRef:5c484c26edSigned-off-by: Michael Vetter <jubalh@iodoru.org>
This commit is contained in:
@@ -171,6 +171,18 @@ ui_reset_idle_time(void)
|
||||
g_timer_start(ui_idle_time);
|
||||
}
|
||||
|
||||
void
|
||||
ui_suspend(void)
|
||||
{
|
||||
endwin();
|
||||
}
|
||||
|
||||
void
|
||||
ui_resume(void)
|
||||
{
|
||||
refresh();
|
||||
}
|
||||
|
||||
void
|
||||
ui_resize(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user