Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1:/tmp/cvs-serv28485/include

Modified Files:
        Moptions.h 
Log Message:
probably fixed off by 1 error in prefs with cygwin

Index: Moptions.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/Moptions.h,v
retrieving revision 1.70
retrieving revision 1.71
diff -b -u -2 -r1.70 -r1.71
--- Moptions.h  12 Apr 2003 01:50:42 -0000      1.70
+++ Moptions.h  23 Jun 2003 23:03:56 -0000      1.71
@@ -345,5 +345,5 @@
 extern const MOption MP_NEWMAIL_PLAY_SOUND;
 extern const MOption MP_NEWMAIL_SOUND_FILE;
-#ifdef OS_UNIX
+#if defined(OS_UNIX) || defined(__CYGWIN__)
 extern const MOption MP_NEWMAIL_SOUND_PROGRAM;
 #endif // OS_UNIX
@@ -1060,5 +1060,5 @@
 /// which sound to play?
 #define MP_NEWMAIL_SOUND_FILE_NAME "NewMailSound"
-#ifdef OS_UNIX
+#if defined(OS_UNIX) || defined(__CYGWIN__)
 /// the program to use to play this sound
 #define MP_NEWMAIL_SOUND_PROGRAM_NAME "NewMailSoundProg"
@@ -2011,7 +2011,11 @@
 
 /// play a sound on new mail?
+#ifdef __CYGWIN__
+#define MP_NEWMAIL_PLAY_SOUND_DEFVAL 0l
+#else
 #define MP_NEWMAIL_PLAY_SOUND_DEFVAL 1l
+#endif // cygwin
 
-#ifdef OS_UNIX
+#if defined(OS_UNIX) || defined(__CYGWIN__)
 /// which sound to play?
 #define MP_NEWMAIL_SOUND_FILE_DEFVAL M_BASEDIR "/newmail.wav"



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to