X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fcontrollertab.cpp;h=fe4c62b3e964b5384d2670f086ab18500e9f99f1;hb=ddac3e0e78a5c4b0236bdeaff18cf9a3ac4ba4f7;hp=bd73c2b0f8bc8e3afdc0c9c2df6b572f02e86407;hpb=5ae68cf3e1b1a38f30d4201ec41ca761a72d3c96;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;