summaryrefslogtreecommitdiff
path: root/pango/mini-fribidi
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2001-07-20 17:22:18 +0000
committerHans Breuer <hans@src.gnome.org>2001-07-20 17:22:18 +0000
commit949c259e1b368aa513720bfa4a67885b5027b3b0 (patch)
treefa8d7423c9303734c24196c0ab498f4b5d9f089a /pango/mini-fribidi
parent7edfee5b2598c0d52ba5551350e78d854ca23ddf (diff)
downloadpango-949c259e1b368aa513720bfa4a67885b5027b3b0.tar.gz
make implementation static too.
2001-07-20 Hans Breuer <hans@breuer.org> * pango/pango-layout.c (pango_layout_line_get_vis2log_map) : make implementation static too. * pango/pango.def pango/pangowin32.def : updated exports * pango/pangowin32.c : correct PangoLanguage changes * pango/mini-fribidi/fribidi.c : removed gccism for msvc build
Diffstat (limited to 'pango/mini-fribidi')
-rw-r--r--pango/mini-fribidi/fribidi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/mini-fribidi/fribidi.c b/pango/mini-fribidi/fribidi.c
index 6b5fdf72..8fc72295 100644
--- a/pango/mini-fribidi/fribidi.c
+++ b/pango/mini-fribidi/fribidi.c
@@ -596,7 +596,11 @@ fribidi_analyse_string ( /* input */
/* Determinate character types */
DBG (" Determine character types\n");
{
+#ifndef _MSC_VER /* just another gccism ... */
FriBidiCharType char_type[len];
+#else
+ FriBidiCharType* char_type = _alloca(len*sizeof(FriBidiCharType));
+#endif
for (i = 0; i < len; i++)
char_type[i] = _pango_fribidi_get_type (str[i]);