View | Details | Raw Unified | Return to bug 130868
Collapse All | Expand All

(-)rsvg-convert.c (-1 / +5 lines)
Lines 31-36 Link Here
31
#include <stdio.h>
31
#include <stdio.h>
32
#include <stdlib.h>
32
#include <stdlib.h>
33
#include <string.h>
33
#include <string.h>
34
#include <locale.h>
34
35
35
#include "rsvg.h"
36
#include "rsvg.h"
36
#include "rsvg-cairo.h"
37
#include "rsvg-cairo.h"
Lines 52-58 Link Here
52
display_error (GError * err)
53
display_error (GError * err)
53
{
54
{
54
    if (err) {
55
    if (err) {
55
        g_print ("%s", err->message);
56
        g_print ("%s\n", err->message);
56
        g_error_free (err);
57
        g_error_free (err);
57
    }
58
    }
58
}
59
}
Lines 165-170 Link Here
165
        {NULL}
166
        {NULL}
166
    };
167
    };
167
168
169
	/* Set the locale so that UTF-8 filenames work */
170
	setlocale(LC_ALL, "");
171
168
	g_thread_init(NULL);
172
	g_thread_init(NULL);
169
173
170
    g_option_context = g_option_context_new (_("- SVG Converter"));
174
    g_option_context = g_option_context_new (_("- SVG Converter"));

Return to bug 130868