summaryrefslogtreecommitdiff
path: root/src/sound
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2021-02-21 20:48:21 +0100
committerNiels Martin Hansen <nielsm@indvikleren.dk>2021-02-23 11:25:39 +0100
commitb427ddce887617f17aefdbe1f22ca1e00d013c3d (patch)
tree06fd938bd05dd716ba2d573978789f2c8e068505 /src/sound
parentbeeb9e0a1b1c6ceb61499edeb8cd6cf7999d12ea (diff)
downloadopenttd-b427ddce887617f17aefdbe1f22ca1e00d013c3d.tar.xz
Codechange: Switch to explicit wide strings
Diffstat (limited to 'src/sound')
-rw-r--r--src/sound/win32_s.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound/win32_s.cpp b/src/sound/win32_s.cpp
index 0e6ce6681..eccbb4f42 100644
--- a/src/sound/win32_s.cpp
+++ b/src/sound/win32_s.cpp
@@ -48,7 +48,7 @@ static DWORD WINAPI SoundThread(LPVOID arg)
if ((hdr->dwFlags & WHDR_INQUEUE) != 0) continue;
MxMixSamples(hdr->lpData, hdr->dwBufferLength / 4);
if (waveOutWrite(_waveout, hdr, sizeof(WAVEHDR)) != MMSYSERR_NOERROR) {
- MessageBox(nullptr, _T("Sounds are disabled until restart."), _T("waveOutWrite failed"), MB_ICONINFORMATION);
+ MessageBox(nullptr, L"Sounds are disabled until restart.", L"waveOutWrite failed", MB_ICONINFORMATION);
return 0;
}
}