diff --git a/Source/Core/DolphinWX/Src/MemcardManager.cpp b/Source/Core/DolphinWX/Src/MemcardManager.cpp index 19a643e278..80042e2dc2 100644 --- a/Source/Core/DolphinWX/Src/MemcardManager.cpp +++ b/Source/Core/DolphinWX/Src/MemcardManager.cpp @@ -496,7 +496,7 @@ void CMemcardManager::CopyDeleteClick(wxCommandEvent& event) break; case OUTOFBLOCKS: blocksOpen.Printf(wxT(E_OUTOFBLOCKS), memoryCard[slot]->GetFreeBlocks()); - PanicAlert(blocksOpen.c_str()); + PanicAlert(blocksOpen.ToAscii()); break; case OUTOFDIRENTRIES: PanicAlert(E_OUTOFDIRENTRIES); @@ -532,7 +532,7 @@ void CMemcardManager::CopyDeleteClick(wxCommandEvent& event) break; case OUTOFBLOCKS: blocksOpen.Printf(wxT(E_OUTOFBLOCKS), memoryCard[slot]->GetFreeBlocks()); - PanicAlert(blocksOpen.c_str()); + PanicAlert(blocksOpen.ToAscii()); break; case OUTOFDIRENTRIES: PanicAlert(E_OUTOFDIRENTRIES); @@ -613,7 +613,7 @@ void CMemcardManager::CopyDeleteClick(wxCommandEvent& event) break; case OUTOFBLOCKS: blocksOpen.Printf(wxT(E_OUTOFBLOCKS), memoryCard[slot]->GetFreeBlocks()); - PanicAlert(blocksOpen.c_str()); + PanicAlert(blocksOpen.ToAscii()); break; case OUTOFDIRENTRIES: PanicAlert(E_OUTOFDIRENTRIES);