Migliorata gestione destinatari messaggi

git-svn-id: svn://10.65.10.50/trunk@739 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 1994-12-07 12:21:01 +00:00
parent 5299434c6b
commit 2769497f11
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
// $Id: mailbox.cpp,v 1.8 1994-12-02 13:30:03 guy Exp $
// $Id: mailbox.cpp,v 1.9 1994-12-07 12:20:58 guy Exp $
#include <stdlib.h>
#include <fstream.h>
@ -19,7 +19,9 @@
TMessage::TMessage(const char* to, const char* sub,
const char* text, const char* from)
{
_to = cmd2name(to);
_to = to;
if (_to.len() != 6 || _to.strip(" -") != to)
_to = cmd2name(to);
_subject = sub;
_text = text;
_from = (from == NULL || *from == '\0') ? main_app().name() : from;

View File

@ -1,4 +1,4 @@
// $Id: relapp.cpp,v 1.37 1994-12-07 11:10:48 guy Exp $
// $Id: relapp.cpp,v 1.38 1994-12-07 12:21:01 guy Exp $
#include <mailbox.h>
#include <sheet.h>
#include <urldefid.h>
@ -621,7 +621,6 @@ bool TRelation_application::save(bool check_dirty)
}
was_dirty = FALSE;
xvt_statbar_set("Registrazione in corso ...");
if (mode == MODE_INS)
{
bool changed = TRUE;