summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eel/eel-string.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/eel/eel-string.c b/eel/eel-string.c
index 4521d157..5e0a34c4 100644
--- a/eel/eel-string.c
+++ b/eel/eel-string.c
@@ -683,7 +683,7 @@ eel_strdup_vprintf_with_custom (EelPrintfHandler *custom,
{
char *val;
- G_VA_COPY(va, va_orig);
+ va_copy (va, va_orig);
skip_to_arg (&va, args, custom, conversions[i].precision_pos);
val = g_strdup_vprintf ("%d", va);
va_end (va);
@@ -699,7 +699,7 @@ eel_strdup_vprintf_with_custom (EelPrintfHandler *custom,
{
char *val;
- G_VA_COPY(va, va_orig);
+ va_copy (va, va_orig);
skip_to_arg (&va, args, custom, conversions[i].width_pos);
val = g_strdup_vprintf ("%d", va);
va_end (va);
@@ -711,7 +711,7 @@ eel_strdup_vprintf_with_custom (EelPrintfHandler *custom,
g_free (val);
}
- G_VA_COPY(va, va_orig);
+ va_copy (va, va_orig);
skip_to_arg (&va, args, custom, conversions[i].arg_pos);
type = args[conversions[i].arg_pos];
if (type < 0)