[Nautilus-list] [patch] eel-font-manager patch
- From: Eungkyu Song <eungkyu sparcs org>
- To: nautilus-list lists eazel com
- Subject: [Nautilus-list] [patch] eel-font-manager patch
- Date: Thu, 7 Jun 2001 05:55:29 +0900
This simple patch make nautilus to list correct 'smooth' font list.
--
___ _ Dept. of C.S. in KAIST, Member of SPARCS.
| __| _ _ _ __ _| |___ _ _ _ http://cs.kaist.ac.kr/
| _| || | ' \/ _` | / / || | || | http://www.sparcs.org/
|___\_,_|_||_\__, |_\_\\_, |\_,_| @sparcs.org
|___/ |__/ http://www.sparcs.org/~eungkyu/
--- eel-font-manager.c.orig Thu Jun 7 05:47:25 2001
+++ eel-font-manager.c Thu Jun 7 05:47:05 2001
@@ -387,7 +387,9 @@
g_return_if_fail (string_is_valid (line));
g_return_if_fail (font_lists_total_num_fonts (postscript_font_list, true_type_font_list) > 0);
- xlfd_delimeter = strstr (line, " ");
+ xlfd_delimeter = strchr (line, ' ');
+ if (xlfd_delimeter == NULL)
+ xlfd_delimeter = strchr (line, '\t');
if (xlfd_delimeter == NULL) {
g_warning ("'%s' is not a valid font description line", line);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]