+2002-06-13 [melvin] 0.7.6claws44
+
+ * po/POTFILES.in
+ Added src/string_match.c
+ * src/string_match.c
+ Fixed possible buffer overflow.
+ Corrected typo.
+ Added missing config.h header.
+ * src/prefs_common.c
+ src/prefs_matcher.c
+ src/prefs_scoring.c
+ Made some strings translatable (missing _(..)).
+
2002-06-13 [melvin] 0.7.6claws43
* README.claws
MICRO_VERSION=6
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=claws43
+EXTRA_VERSION=claws44
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target
src/sourcewindow.c
src/ssl.c
src/statusbar.c
+src/string_match.c
src/summary_search.c
src/summaryview.c
src/syldap.c
gtk_signal_connect (GTK_OBJECT (button_keybind), "clicked",
GTK_SIGNAL_FUNC (prefs_keybind_select), NULL);
- PACK_FRAME(vbox1, frame_pixmap_theme, "Pixmap theme");
+ PACK_FRAME(vbox1, frame_pixmap_theme, _("Pixmap theme"));
vbox_pixmap_theme = gtk_vbox_new(FALSE, 0);
gtk_widget_show(vbox_pixmap_theme);
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
- title[0] = ("Registered rules");
+ title[0] = _("Registered rules");
cond_clist = gtk_clist_new_with_titles(1, title);
gtk_widget_show (cond_clist);
gtk_container_add (GTK_CONTAINER (cond_scrolledwin), cond_clist);
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
- title[0] = ("Registered rules");
+ title[0] = _("Registered rules");
cond_clist = gtk_clist_new_with_titles(1, title);
gtk_widget_show (cond_clist);
gtk_container_add (GTK_CONTAINER (cond_scrolledwin), cond_clist);
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "intl.h"
#include "string_match.h"
}
} while (txt[j] && i < buflen - 1);
buf[i] = 0x00;
- if (buf[0] == 0x00)
- strcpy(buf, _("(Subject cleared by regexp)"));
+ if (buf[0] == 0x00) {
+ strncpy(buf, _("(Subject cleared by RegExp)"),
+ buflen - 1);
+ buf[buflen - 1] = 0x00;
+ }
return buf;
}
return txt;