ayttm-commits
[Top][All Lists]
Advanced

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

[Ayttm-commits] CVS: ayttm/src chat_window.c,1.66,1.67 input_list.c,1.1


From: Edward L. Haletky <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/src chat_window.c,1.66,1.67 input_list.c,1.11,1.12 log_window.c,1.23,1.24 plugin.c,1.12,1.13 prefs_window.c,1.12,1.13 service.c,1.16,1.17 status.c,1.79,1.80
Date: Tue, 25 Mar 2003 20:28:53 -0500

Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv16789/src

Modified Files:
        chat_window.c input_list.c log_window.c plugin.c 
        prefs_window.c service.c status.c 
Log Message:


snprintf to g_snprintf mapping for MINGW32


Index: chat_window.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/chat_window.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- chat_window.c       25 Mar 2003 23:04:59 -0000      1.66
+++ chat_window.c       26 Mar 2003 01:28:50 -0000      1.67
@@ -68,6 +68,9 @@
 #include "pixmaps/tb_mail_send.xpm"
 #include "pixmaps/cancel.xpm"
 #include "pixmaps/smiley_button.xpm"
+#ifdef __MINGW32__
+#define snprintf g_snprintf
+#endif
 
 #define BUF_SIZE 1024  /* Maximum message length */
 #ifndef NAME_MAX

Index: input_list.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/input_list.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- input_list.c        25 Mar 2003 22:18:16 -0000      1.11
+++ input_list.c        26 Mar 2003 01:28:50 -0000      1.12
@@ -29,6 +29,9 @@
 #include "input_list.h"
 #include "value_pair.h"
 #include "dialog.h"
+#ifdef __MINGW32__
+#define snprintf g_snprintf
+#endif
 
 
 void eb_input_render(input_list * il, void * box)

Index: log_window.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/log_window.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- log_window.c        25 Mar 2003 23:04:59 -0000      1.23
+++ log_window.c        26 Mar 2003 01:28:50 -0000      1.24
@@ -43,6 +43,9 @@
 #include "prefs.h"
 
 #include "pixmaps/cancel.xpm"
+#ifdef __MINGW32__
+#define snprintf g_snprintf
+#endif
 
 static void eb_log_show(log_window *lw);
 

Index: plugin.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/plugin.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- plugin.c    25 Mar 2003 22:06:13 -0000      1.12
+++ plugin.c    26 Mar 2003 01:28:50 -0000      1.13
@@ -40,6 +40,9 @@
 #include "value_pair.h"
 #include "dialog.h"
 #include "prefs_window.h"
+#ifdef __MINGW32__
+#define snprintf g_snprintf
+#endif
 
 
 char *PLUGIN_TYPE_TXT[]={"SERVICE", "UTILITY", "SOUND", "LOG", "GUI", 
"UNKNOWN"};

Index: prefs_window.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/prefs_window.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- prefs_window.c      25 Mar 2003 23:04:59 -0000      1.12
+++ prefs_window.c      26 Mar 2003 01:28:50 -0000      1.13
@@ -2200,7 +2200,7 @@
                                SendDefault);
                        cSetLocalPref("SendFilename", buff);
                } else { // WinNT,2000,XP
-                       char *base_dir = "C:\\Program Files\\ayttm\\";
+                       char *base_dir = "\\Program Files\\ayttm\\";
                        g_snprintf(buff, 1024, "%s%s",base_dir,MODULE_DIR);
                        cSetLocalPref("modules_path", buff);
                        g_snprintf(buff, 1024, "%s%s",base_dir,

Index: service.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/service.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- service.c   25 Mar 2003 22:06:13 -0000      1.16
+++ service.c   26 Mar 2003 01:28:50 -0000      1.17
@@ -47,6 +47,9 @@
 #include "nomodule.h"
 #include "plugin_api.h"
 #include "value_pair.h"
+#ifdef __MINGW32__
+#define snprintf g_snprintf
+#endif
 
 #ifdef HAVE_MIT_SAVER_EXTENSION
 #include <X11/extensions/scrnsaver.h>

Index: status.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/status.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- status.c    25 Mar 2003 22:06:13 -0000      1.79
+++ status.c    26 Mar 2003 01:28:50 -0000      1.80
@@ -59,6 +59,9 @@
 #include "pixmaps/login_icon.xpm"
 #include "pixmaps/blank_icon.xpm"
 #include "pixmaps/logoff_icon.xpm"
+#ifdef __MINGW32__
+#define snprintf g_snprintf
+#endif
 
 void update_contact_list();
 static void set_menu_sensitivity(void);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]