Update of /cvsroot/mahogany/M/src/classes
In directory usw-pr-cvs1:/tmp/cvs-serv28866/src/classes

Modified Files:
        MessageView.cpp 
Log Message:
Attempt to have focus following the mouse on Windows. Protected with 
EXPERIMENTAL_FOCUS_FOLLOWS.

Index: MessageView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MessageView.cpp,v
retrieving revision 1.89
retrieving revision 1.90
diff -b -u -2 -r1.89 -r1.90
--- MessageView.cpp     13 May 2002 23:32:56 -0000      1.89
+++ MessageView.cpp     3 Jun 2002 11:09:09 -0000       1.90
@@ -1468,6 +1468,12 @@
                               !strstr(textPart, SIG_END_MARKER) )
                         {
+                           // Check that there is not another sig marker below
+                           static const char *OTHER_SIG_END_MARKER = "-- \r\n";
+                           if ( !strstr(p + 1, OTHER_SIG_END_MARKER) &&
+                                 !strstr(textPart, OTHER_SIG_END_MARKER) )
+                           {
                            // ok, it passed all our empirical tests
                            levelNew = LEVEL_SIG;
+                           }
                         }
                      }


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to