summaryrefslogtreecommitdiff
path: root/pango/mini-fribidi/fribidi.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/mini-fribidi/fribidi.c')
-rw-r--r--pango/mini-fribidi/fribidi.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/pango/mini-fribidi/fribidi.c b/pango/mini-fribidi/fribidi.c
index b5a72bdc..ec3900e4 100644
--- a/pango/mini-fribidi/fribidi.c
+++ b/pango/mini-fribidi/fribidi.c
@@ -586,11 +586,7 @@ 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
+ FriBidiCharType* char_type = g_alloca (len*sizeof(FriBidiCharType));
for (i = 0; i < len; i++)
char_type[i] = _pango_fribidi_get_type (str[i]);