diff src/main.h @ 767:e73d30e0c896

Make utf8_validate_or_convert() to always allocate a new string.
author zas_
date Fri, 30 May 2008 08:36:23 +0000
parents 77ff94c0490a
children 2d2cca2bceb0
line wrap: on
line diff
--- a/src/main.h	Fri May 30 07:20:25 2008 +0000
+++ b/src/main.h	Fri May 30 08:36:23 2008 +0000
@@ -133,7 +133,7 @@
  */
 
 gdouble get_zoom_increment(void);
-gchar *utf8_validate_or_convert(gchar *text);
+gchar *utf8_validate_or_convert(const gchar *text);
 gchar *expand_tilde(const gchar *filename);
 
 void keyboard_scroll_calc(gint *x, gint *y, GdkEventKey *event);