diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-11-10 17:19:55 +0100 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-11-10 17:20:05 +0100 |
commit | 9c70eee4cafa267e3aeefc886c08911aba9904df (patch) | |
tree | d17a6dedba8841154cbadf0e568ff206e02d4a6f /src/fe-gtk/xtext.c | |
parent | f53eadbcabcc131684f28488d4d1951a7e91c0d8 (diff) |
Eliminate some unused stuff
Diffstat (limited to 'src/fe-gtk/xtext.c')
-rw-r--r-- | src/fe-gtk/xtext.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fe-gtk/xtext.c b/src/fe-gtk/xtext.c index 7269e921..87877b87 100644 --- a/src/fe-gtk/xtext.c +++ b/src/fe-gtk/xtext.c @@ -179,7 +179,7 @@ static int gtk_xtext_render_ents (GtkXText * xtext, textentry *, textentry *); static void gtk_xtext_recalc_widths (xtext_buffer *buf, int); static void gtk_xtext_fix_indent (xtext_buffer *buf); static int gtk_xtext_find_subline (GtkXText *xtext, textentry *ent, int line); -static char *gtk_xtext_conv_color (unsigned char *text, int len, int *newlen); +/* static char *gtk_xtext_conv_color (unsigned char *text, int len, int *newlen); */ /* For use by gtk_xtext_strip_color() and its callers -- */ typedef union offlen_u { struct offlen_s { @@ -2730,7 +2730,7 @@ gtk_xtext_strip_color (unsigned char *text, int len, unsigned char *outbuf, return new_str; } - +#if 0 /* GeEkMaN: converts mIRC control codes to literal control codes */ static char * @@ -2823,6 +2823,7 @@ gtk_xtext_conv_color (unsigned char *text, int len, int *newlen) return new_str; } +#endif /* gives width of a string, excluding the mIRC codes */ |