diff options
author | behdad <behdad> | 2002-03-24 21:24:12 +0000 |
---|---|---|
committer | behdad <behdad> | 2002-03-24 21:24:12 +0000 |
commit | 8059d3854e2f0544d345fd6fc838fdcdecf36d94 (patch) | |
tree | 0ba6410399289d19661b4d8b91b1cb7440351921 /fribidi_env.c | |
parent | d9c5db8b1c231ad4e769923aa2d785a36c1d80ac (diff) |
Fixed a small bug.rel-0-10-2
Diffstat (limited to 'fribidi_env.c')
-rw-r--r-- | fribidi_env.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/fribidi_env.c b/fribidi_env.c index 20f3733..19c8b38 100644 --- a/fribidi_env.c +++ b/fribidi_env.c @@ -228,9 +228,13 @@ void fribidi_set_reorder_nsm (FriBidiEnv* fbenv, boolean reorder) *----------------------------------------------------------------------*/ boolean fribidi_debug_status (FriBidiEnv* fbenv) { +#ifdef DEBUG VALIDATE_FRIBIDIENV(fbenv); return(0 != (fbenv->iFlags & FRIBIDIENV_DEBUG_MODE) ? TRUE : FALSE); +#else /* DEBUG */ + return FALSE; +#endif /* DEBUG */ } /*====================================================================== @@ -249,9 +253,9 @@ boolean fribidi_set_debug (FriBidiEnv* fbenv, boolean debug) else { fbenv->iFlags &= (~FRIBIDIENV_DEBUG_MODE); } - return(debug); + return debug; #else /* DEBUG */ - return(FALSE); + return FALSE; #endif /* DEBUG */ } |