std::string imagepath;
#ifdef WIN32
- imagepath=App::get_base_path()+ETL_DIRECTORY_SEPERATOR+IMAGE_DIR;
+ imagepath=App::get_base_path()+ETL_DIRECTORY_SEPARATOR+IMAGE_DIR;
#else
imagepath=IMAGE_DIR;
#endif
char* synfig_root=getenv("SYNFIG_ROOT");
if(synfig_root) {
imagepath=synfig_root;
- imagepath+=ETL_DIRECTORY_SEPERATOR;
+ imagepath+=ETL_DIRECTORY_SEPARATOR;
imagepath+="share/pixmaps";
}
- imagepath+=ETL_DIRECTORY_SEPERATOR;
+ imagepath+=ETL_DIRECTORY_SEPARATOR;
// Create the Logo
Pango::FontDescription fd = Pango::FontDescription("Sans, 11");
l->set_font_description(fd);
l->set_justify(Pango::ALIGN_CENTER);
- fd.set_size(size*Pango::SCALE);
+ fd.set_size(int(size*Pango::SCALE));
l->set_font_description(fd);
l->get_pixel_size(width,height);
while( width >= image_w-6 ){
fd = Pango::FontDescription("Sans, 11");
l->set_font_description(fd);
l->set_justify(Pango::ALIGN_CENTER);
- fd.set_size(size*Pango::SCALE);
+ fd.set_size(int(size*Pango::SCALE));
l->set_font_description(fd);
l->get_pixel_size(width,height);
while( width >= image_w-6 ){