formatting

SVN revision: 46110
This commit is contained in:
Vincent Torri 2010-02-12 08:09:03 +00:00
parent 4b5ea14fbb
commit b9ca64f7a5
1 changed files with 12 additions and 10 deletions

View File

@ -1,15 +1,17 @@
#ifndef _EVAS_INTL_UTILS #ifndef _EVAS_INTL_UTILS
#define _EVAS_INTL_UTILS #define _EVAS_INTL_UTILS
#include "config.h" #ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_FRIBIDI #ifdef HAVE_FRIBIDI
#define USE_FRIBIDI # define USE_FRIBIDI
#define INTERNATIONAL_SUPPORT # define INTERNATIONAL_SUPPORT
#endif #endif
#ifdef USE_FRIBIDI #ifdef USE_FRIBIDI
#include <fribidi/fribidi.h> # include <fribidi/fribidi.h>
/* abstract fribidi */ /* abstract fribidi */
typedef FriBidiChar EvasIntlChar; typedef FriBidiChar EvasIntlChar;
@ -19,16 +21,16 @@ typedef FriBidiLevel EvasIntlLevel;
/* whether should fix arabic specifix issues */ /* whether should fix arabic specifix issues */
#define ARABIC_SUPPORT # define ARABIC_SUPPORT
#ifdef ARABIC_SUPPORT # ifdef ARABIC_SUPPORT
#include "evas_intl/evas_intl_arabic.h" # include "evas_intl/evas_intl_arabic.h"
#endif # endif
#define evas_intl_position_logical_to_visual(list, position) \ # define evas_intl_position_logical_to_visual(list, position) \
(list) ? list[position] : position; (list) ? list[position] : position;
#define evas_intl_position_visual_to_logical(list, position) \ # define evas_intl_position_visual_to_logical(list, position) \
(list) ? list[position] : position; (list) ? list[position] : position;