forked from minhngoc25a/freetype2
Fix wrong indents in src/cache/ftcmru.c.
This commit is contained in:
parent
e62c876bb0
commit
41aa412591
|
@ -161,7 +161,7 @@
|
||||||
*plist = NULL;
|
*plist = NULL;
|
||||||
}
|
}
|
||||||
else if ( node == first )
|
else if ( node == first )
|
||||||
*plist = next;
|
*plist = next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -264,14 +264,14 @@
|
||||||
list->clazz.node_done( node, list->data );
|
list->clazz.node_done( node, list->data );
|
||||||
}
|
}
|
||||||
else if ( FT_ALLOC( node, list->clazz.node_size ) )
|
else if ( FT_ALLOC( node, list->clazz.node_size ) )
|
||||||
goto Exit;
|
goto Exit;
|
||||||
|
|
||||||
error = list->clazz.node_init( node, key, list->data );
|
error = list->clazz.node_init( node, key, list->data );
|
||||||
if ( error )
|
if ( error )
|
||||||
goto Fail;
|
goto Fail;
|
||||||
|
|
||||||
FTC_MruNode_Prepend( &list->nodes, node );
|
FTC_MruNode_Prepend( &list->nodes, node );
|
||||||
list->num_nodes++;
|
list->num_nodes++;
|
||||||
|
|
||||||
Exit:
|
Exit:
|
||||||
*anode = node;
|
*anode = node;
|
||||||
|
@ -316,7 +316,7 @@
|
||||||
|
|
||||||
|
|
||||||
if ( list->clazz.node_done )
|
if ( list->clazz.node_done )
|
||||||
list->clazz.node_done( node, list->data );
|
list->clazz.node_done( node, list->data );
|
||||||
|
|
||||||
FT_FREE( node );
|
FT_FREE( node );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue