diff plugins/history.c @ 7107:9220c7490cd1

[gaim-migrate @ 7672] This is a big one: normalize() -> gaim_normalize, linkify_text() -> gaim_markup_linkify(), gaim_get_size_string() -> gaim_str_size_to_units(), and moved clean_pid() to main.c. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 01 Oct 2003 06:17:28 +0000
parents 083d1e4a9c78
children bdf0e5f71124
line wrap: on
line diff
--- a/plugins/history.c	Wed Oct 01 05:56:58 2003 +0000
+++ b/plugins/history.c	Wed Oct 01 06:17:28 2003 +0000
@@ -24,7 +24,7 @@
 	struct stat st;
 	FILE *fd;
 	char *userdir = g_strdup(gaim_user_dir());
-	char *logfile = g_strdup_printf("%s.log", normalize(name));
+	char *logfile = g_strdup_printf("%s.log", gaim_normalize(name));
 	char *path = g_build_filename(userdir, "logs", logfile, NULL);
 	char buf[HISTORY_SIZE+1];
 	char *tmp, *tmp2;
@@ -55,7 +55,7 @@
 		options |= GTK_IMHTML_NO_NEWLINE;
 
 	if (gaim_prefs_get_bool("/gaim/gtk/conversations/show_urls_as_links"))
-		tmp2 = linkify_text(tmp);
+		tmp2 = gaim_markup_linkify(tmp);
 	else
 		tmp2 = g_strdup(tmp);