editWnd->pts.Clear();
((TTEdit *)qApp)->charWnd->MakePathFromPoints(&(editWnd->pts));
((TTEdit *)qApp)->charWnd->update();
+// editWnd->polyFirstPoint = true;
editWnd->update();
}
{
QString filename = QFileDialog::getOpenFileName(this, tr("Open Glyph File"),
"./", tr("Glyph files (*.glyph)"));
- FILE * file = fopen(filename.toAscii().data(), "r");
+ FILE * file = fopen(filename.toUtf8().data(), "r");
//need to pop an error box here...
if (file == 0)
{
QString filename = QFileDialog::getSaveFileName(this, tr("Save Glyph File"),
"./", tr("Glyph files (*.glyph)"));
- FILE * file = fopen(filename.toAscii().data(), "w");
+ FILE * file = fopen(filename.toUtf8().data(), "w");
//need to pop an error box here...
if (file == 0)