From 3e715b40d3d65f72332eab10e6cf3f8a976c7db5 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 28 Jan 2018 11:10:20 -0800 Subject: Fix non-debug build --- lib/fribidi-bidi.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/fribidi-bidi.c b/lib/fribidi-bidi.c index 53aab3d..12cb44e 100644 --- a/lib/fribidi-bidi.c +++ b/lib/fribidi-bidi.c @@ -260,6 +260,17 @@ print_bidi_string ( MSG2 ("%c", fribidi_char_from_bidi_type (bidi_types[i])); MSG ("\n"); } + +static void print_pairing_nodes(FriBidiPairingNode *nodes) +{ + MSG ("Pairs: "); + while (nodes) + { + MSG3 ("(%d, %d) ", nodes->open->pos, nodes->close->pos); + nodes = nodes->next; + } + MSG ("\n"); +} #endif /* DEBUG */ @@ -403,17 +414,6 @@ static FriBidiPairingNode * pairing_nodes_push(FriBidiPairingNode *nodes, return nodes; } -static void print_pairing_nodes(FriBidiPairingNode *nodes) -{ - MSG ("Pairs: "); - while (nodes) - { - MSG3 ("(%d, %d) ", nodes->open->pos, nodes->close->pos); - nodes = nodes->next; - } - MSG ("\n"); -} - /* Sort by merge sort */ static void pairing_nodes_front_back_split(FriBidiPairingNode *source, /* output */ -- cgit v1.2.1