various bugfixes

This commit is contained in:
Frederic Culot
2009-01-02 19:52:32 +00:00
parent cac30a7e14
commit aa7d6c5eb7
9 changed files with 46 additions and 38 deletions

View File

@@ -1,4 +1,4 @@
/* $calcurse: io.c,v 1.52 2009/01/01 17:50:41 culot Exp $ */
/* $calcurse: io.c,v 1.53 2009/01/02 19:52:32 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -2812,5 +2812,6 @@ io_start_psave_thread (conf_t *conf)
void
io_stop_psave_thread (void)
{
pthread_cancel (io_t_psave);
if (io_t_psave)
pthread_cancel (io_t_psave);
}