[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Devel] FIX: PCF_Get_Char_Index
From: |
Francesco Zappa Nardelli |
Subject: |
[Devel] FIX: PCF_Get_Char_Index |
Date: |
10 Apr 2001 12:20:13 +0200 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.3 |
Hello.
FIX: FT_Get_Char_Index should return 0 when invoked with an undefined
character code: PCF_Get_Char_Index wrongly returns /defaultChar/.
The following patch fixes the problem. Sorry for this.
Regards,
-francesco
$ diff -u pcfdriver.c pcfdriverNEW.c
--- pcfdriver.c Tue Apr 10 11:55:47 2001
+++ pcfdriverNEW.c Tue Apr 10 11:56:51 2001
@@ -264,7 +264,7 @@
return en_table[mid].glyph;
}
- return face->defaultChar;
+ return 0;
}
- [Devel] FIX: PCF_Get_Char_Index,
Francesco Zappa Nardelli <=