A couple of core cleanups
"A. Craig West" <[email protected]> Sun, 7 Mar 2004 15:41:50 -0500 (EST)
| Newsgroups | gmane.network.everybuddy.devel |
|---|---|
| Message-ID | <[email protected]> |
Two things for the core. First, to prevent various subversion syncronization
issues, we need to remove various target files from subversion. It doesn't
work when I do it to ebqt, so I will leave it alone, but the core doesn't mind
elimination all .in files, and it will make our lives a lot easier...
eb-lite$ svn status
! core/libltdl/config.h.in
! core/libltdl/configure.in
! core/libltdl/stamp-h.in
! core/stamp-h.in
! core/config.h.in
Second, a change for Meredydd :-)
---------------------Patch Begins----------------------
Index: core/src/gui_comms.c
===================================================================
--- core/src/gui_comms.c (revision 306)
+++ core/src/gui_comms.c (working copy)
@@ -50,8 +50,8 @@
char * away_msg=NULL;
char * away_short=NULL;
-static char * true_string = "1";
-static char * false_string = "0";
+#define TRUE_STRING "1"
+#define FALSE_STRING "0"
typedef enum {
EB_ERROR_DIALOG,
@@ -1214,7 +1214,7 @@
notify_command[1]=buf;
notify_command[2]=ynd->title;
notify_command[3]=ynd->message;
- notify_command[4]=(ynd->default_result)?(true_string):(false_string);
+ notify_command[4]=(ynd->default_result)?(TRUE_STRING):(FALSE_STRING);
num_commands=5;
}
@@ -1228,7 +1228,7 @@
notify_command[2]=td->title;
notify_command[3]=td->message;
notify_command[4]=td->initial_contents;
- notify_command[5]=(td->is_html)?(true_string):(false_string);
+ notify_command[5]=(td->is_html)?(TRUE_STRING):(FALSE_STRING);
num_commands=6;
}
---------------------Patch Ends----------------------
--
Craig West Ph: (416) 666-1645 | It's not a bug,
[email protected] | It's a feature...