Corretto errore nell' eliminazione dei fax in spedizione
git-svn-id: svn://10.65.10.50/trunk@3639 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
a9d8514fce
commit
529b2e2e0f
10
ba/bafax.cpp
10
ba/bafax.cpp
@ -27,7 +27,7 @@
|
|||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <windowsx.h>
|
#include <windowsx.h>
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
#include <faxdll.h>
|
#include "faxdll.h"
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////
|
||||||
// Finalmente un programma multimediale!
|
// Finalmente un programma multimediale!
|
||||||
@ -1209,9 +1209,13 @@ void TDDE_fax::show_status(PSEND_FAX sf)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void TDDE_fax::log_delete(WORD log, unsigned long id)
|
void TDDE_fax::log_delete(WORD log, unsigned long id)
|
||||||
{
|
{
|
||||||
if (log == SUBSCRIBE_LOG_SENDING)
|
if (log == SUBSCRIBE_LOG_SENDING)
|
||||||
FaxCancel(_pappinfo, id);
|
{
|
||||||
|
const bool ok = FaxCancel(_pappinfo, id);
|
||||||
|
if (!ok)
|
||||||
|
FaxLogDelete(_pappinfo, id, log);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
FaxLogDelete(_pappinfo, id, log);
|
FaxLogDelete(_pappinfo, id, log);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user