Skip to content

Commit

Permalink
Win 32: Fix rendering to path containing non-lating characters
Browse files Browse the repository at this point in the history
  • Loading branch information
morevnaproject committed Mar 26, 2015
1 parent e1252e3 commit e7f05de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions synfig-studio/src/gui/render.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include "app.h"
#include <gtkmm/frame.h>
#include <gtkmm/alignment.h>
#include <glibmm.h>
#include <synfig/target_scanline.h>
#include <synfig/canvas.h>
#include "asyncrenderer.h"
Expand Down Expand Up @@ -350,7 +351,11 @@ RenderSettings::submit_next_render_pass()
render_passes.pop_back();

TargetAlphaMode pass_alpha_mode = pass_info.first;
#ifdef WIN32
String pass_filename = Glib::locale_from_utf8(pass_info.second);
#else
String pass_filename = pass_info.second;
#endif

Target::Handle target=Target::create(calculated_target_name,pass_filename, tparam);
if(!target)
Expand Down

0 comments on commit e7f05de

Please sign in to comment.