projects
/
framework
/
uifw
/
xorg
/
lib
/
libxfont.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
upload tizen2.0 source
[framework/uifw/xorg/lib/libxfont.git]
/
src
/
util
/
patcache.c
diff --git
a/src/util/patcache.c
b/src/util/patcache.c
old mode 100755
(executable)
new mode 100644
(file)
index
548105a
..
9c05fa1
--- a/
src/util/patcache.c
+++ b/
src/util/patcache.c
@@
-66,7
+66,7
@@
void
EmptyFontPatternCache (FontPatternCachePtr cache)
{
int i;
EmptyFontPatternCache (FontPatternCachePtr cache)
{
int i;
-
+
for (i = 0; i < NBUCKETS; i++)
cache->buckets[i] = 0;
for (i = 0; i < NENTRIES; i++)
for (i = 0; i < NBUCKETS; i++)
cache->buckets[i] = 0;
for (i = 0; i < NENTRIES; i++)
@@
-127,9
+127,9
@@
Hash (const char *string, int len)
/* add entry */
void
/* add entry */
void
-CacheFontPattern (FontPatternCachePtr cache,
- char *pattern,
- int patlen,
+CacheFontPattern (FontPatternCachePtr cache,
+ char *pattern,
+ int patlen,
FontPtr pFont)
{
FontPatternCacheEntryPtr e;
FontPtr pFont)
{
FontPatternCacheEntryPtr e;
@@
-173,8
+173,8
@@
CacheFontPattern (FontPatternCachePtr cache,
/* find matching entry */
FontPtr
/* find matching entry */
FontPtr
-FindCachedFontPattern (FontPatternCachePtr cache,
- char *pattern,
+FindCachedFontPattern (FontPatternCachePtr cache,
+ char *pattern,
int patlen)
{
int hash;
int patlen)
{
int hash;
@@
-195,7
+195,7
@@
FindCachedFontPattern (FontPatternCachePtr cache,
}
void
}
void
-RemoveCachedFontPattern (FontPatternCachePtr cache,
+RemoveCachedFontPattern (FontPatternCachePtr cache,
FontPtr pFont)
{
FontPatternCacheEntryPtr e;
FontPtr pFont)
{
FontPatternCacheEntryPtr e;