if (is_html || update_display (hwnd, this))
if ( update_display (hwnd, this))
GpgMsgImpl::decrypt (HWND hwnd){  log_debug ("%s:%s: enter\n", __FILE__, __func__);  openpgp_t mtype;  char *plaintext = NULL;  int has_attach;  int err;  mtype = getMessageType ();  if (mtype == OPENPGP_CLEARSIG)    {      log_debug ("%s:%s: leave (passing on to verify)\n", __FILE__, __func__);      return verify (hwnd);    }  /* Check whether this possibly encrypted message as attachments.  We     check right now because we need to get into the decryptio code     even if the body is not encrypted but attachments are     available. FIXME: I am not sure whether this is the best     solution, we might want to skip the decryption step later and     also test for encrypted attachments right now.*/  has_attach = hasAttachments ();  if (mtype == OPENPGP_NONE && !has_attach )     {      MessageBox (NULL, "No valid OpenPGP data found.",                  "GPG Decryption", MB_ICONERROR|MB_OK);      log_debug ("%s:%s: leave (no OpenPGP data)\n", __FILE__, __func__);      return 0;    }  err = op_decrypt (getOrigText (), &plaintext, opt.passwd_ttl);  if (err)    {      if (has_attach && gpg_err_code (err) == GPG_ERR_NO_DATA)        ;      else        MessageBox (NULL, op_strerror (err),                    "GPG Decryption", MB_ICONERROR|MB_OK);    }  else if (plaintext && *plaintext)    {	      int is_html = is_html_body (plaintext);      setPlainText (plaintext);      plaintext = NULL;      /* Also set PR_BODY but do not use 'SaveChanges' to make it         permanently.  This way the user can reply with the         plaintext but the ciphertext is still stored. */      log_debug ("decrypt isHtml=%d\n", is_html);      /* XXX: find a way to handle text/html message in a better way! */      if (is_html || update_display (hwnd, this))        {          const char s[] =             "The message text cannot be displayed.\n"            "You have to save the decrypted message to view it.\n"            "Then you need to re-open the message.\n\n"            "Do you want to save the decrypted message?";          int what;                    what = MessageBox (NULL, s, "GPG Decryption",                             MB_YESNO|MB_ICONWARNING);          if (what == IDYES)             {              log_debug ("decrypt: saving plaintext message.\n");              saveChanges (1);            }	}      else        saveChanges (0);    }  if (has_attach)    {      unsigned int n;            n = getAttachments ();      log_debug ("%s:%s: message has %u attachments\n", __FILE__, __func__, n);      for (int i=0; i < n; i++)         decryptAttachment (hwnd, i, true, opt.passwd_ttl);    }  log_debug ("%s:%s: leave (rc=%d)\n", __FILE__, __func__, err);  return err;}