summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinghua Luo <sunmoon1997@gmail.com>2007-02-05 10:28:42 +0800
committerJinghua Luo <sunmoon1997@gmail.com>2007-02-05 10:28:42 +0800
commit56b8381fefd8fd5acf648e876d551a9fd974a122 (patch)
tree7f5f5167ca01a9463005e4da71241d1205208e04
parentaff060c2424e02988f8b0f515bfa464c3d4aa5e9 (diff)
fontmap: coding style fix.
-rw-r--r--src/sdl-fontmap.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/sdl-fontmap.c b/src/sdl-fontmap.c
index 818d3aa..874cbe9 100644
--- a/src/sdl-fontmap.c
+++ b/src/sdl-fontmap.c
@@ -168,8 +168,8 @@ static void
sdl_freetype_font_map_destroy_faces (sdl_freetype_font_map_t * fontmap)
{
sdl_freetype_hash_foreach (fontmap->hash,
- sdl_freetype_font_map_faces_destroy_callback,
- NULL);
+ sdl_freetype_font_map_faces_destroy_callback,
+ NULL);
}
static void
@@ -301,8 +301,8 @@ sdl_freetype_base_font_reference (sdl_freetype_base_font_t * base_font)
}
static int
-fontmap_unlocked_filter(sdl_freetype_hash_t * hash,
- sdl_freetype_hash_entry_t * entry)
+fontmap_unlocked_filter (sdl_freetype_hash_t * hash,
+ sdl_freetype_hash_entry_t * entry)
{
sdl_freetype_base_font_t * font = (sdl_freetype_base_font_t *) entry;
@@ -506,13 +506,13 @@ sdl_freetype_font_options_equal (const sdl_freetype_font_options_t * options0,
if (options0->vertical_layout != options1->vertical_layout)
return 0;
if (options0->autohint != options1->autohint)
- return 0;
+ return 0;
return 1;
}
static sdl_freetype_font_face_t *
-sdl_freetype_base_font_find_face(sdl_freetype_base_font_t * base_font,
- const sdl_freetype_font_options_t *options)
+sdl_freetype_base_font_find_face (sdl_freetype_base_font_t * base_font,
+ const sdl_freetype_font_options_t *options)
{
sdl_freetype_font_face_t * face;
@@ -524,8 +524,8 @@ sdl_freetype_base_font_find_face(sdl_freetype_base_font_t * base_font,
}
static void
-sdl_freetype_base_font_append_face(sdl_freetype_base_font_t * base_font,
- sdl_freetype_font_face_t * face)
+sdl_freetype_base_font_append_face (sdl_freetype_base_font_t * base_font,
+ sdl_freetype_font_face_t * face)
{
base_font->num_faces++;
sdl_freetype_font_face_reference (face);
@@ -618,7 +618,7 @@ sdl_freetype_font_face_destroy (sdl_freetype_font_face_t * face)
}
int
-sdl_freetype_init(void)
+sdl_freetype_init (void)
{
sdl_freetype_font_map_t * fontmap;
@@ -631,7 +631,7 @@ sdl_freetype_init(void)
}
void
-sdl_freetype_fini(void)
+sdl_freetype_fini (void)
{
sdl_freetype_font_map_destroy ();
}