X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fcontrollertab.cpp;h=fe4c62b3e964b5384d2670f086ab18500e9f99f1;hb=c9d57b57d70ab2ae842144828175820fb207a3b0;hp=bd73c2b0f8bc8e3afdc0c9c2df6b572f02e86407;hpb=77430278bc7300a9ad84bdc2e40615c1d510dc78;p=virtualjaguar diff --git a/src/gui/controllertab.cpp b/src/gui/controllertab.cpp index bd73c2b..fe4c62b 100644 --- a/src/gui/controllertab.cpp +++ b/src/gui/controllertab.cpp @@ -222,7 +222,7 @@ void ControllerTab::AddMapName(void) // Add mapping... profileNum = freeProfile; profile[profileNum].device = deviceList->itemData(deviceList->currentIndex()).toInt(); - strncpy(profile[profileNum].mapName, text.toAscii().data(), 31); + strncpy(profile[profileNum].mapName, text.toUtf8().data(), 31); profile[profileNum].mapName[31] = 0; profile[profileNum].preferredSlot = CONTROLLER1;