[evolution] Bug #605745 - Use a few more named constants



commit 5bffe4927d0886dd65c88d2593d93cf222e170fb
Author: Paul Bolle <pebolle tiscali nl>
Date:   Thu Apr 1 17:01:04 2010 +0200

    Bug #605745 - Use a few more named constants

 plugins/tnef-attachments/tnef-plugin.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/tnef-attachments/tnef-plugin.c b/plugins/tnef-attachments/tnef-plugin.c
index cf0b11e..4c02457 100644
--- a/plugins/tnef-attachments/tnef-plugin.c
+++ b/plugins/tnef-attachments/tnef-plugin.c
@@ -333,10 +333,10 @@ void processTnef(TNEFStruct *tnef, const gchar *tmpdir) {
                 /* Ok, it's not an embedded stream, so now we */
 		/* process it. */
                 if ((filename = MAPIFindProperty(&(p->MAPI),
-                                        PROP_TAG(30,0x3707)))
+                                        PROP_TAG(PT_STRING8, PR_ATTACH_LONG_FILENAME)))
                         == MAPI_UNDEFINED) {
                     if ((filename = MAPIFindProperty(&(p->MAPI),
-                                        PROP_TAG(30,0x3001)))
+                                        PROP_TAG(PT_STRING8, PR_DISPLAY_NAME)))
                             == MAPI_UNDEFINED) {
                         filename = &(p->Title);
                     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]