From 5b6da80ec2f649b5636d379a7775164445370b18 Mon Sep 17 00:00:00 2001 From: GRZ4NA Date: Thu, 3 Jun 2021 20:28:00 +0200 Subject: [PATCH] fixed pause string --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index a9b579c..92896c9 100644 --- a/main.cpp +++ b/main.cpp @@ -505,7 +505,7 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { case 2: mciSendString(L"pause mp3", NULL, 0, mainWindow); - wstring pauseStringWS = selected + L" [PAUZA]"; + wstring pauseStringWS = wstring(files[selected].cFileName) + L" [PAUZA]"; LPCWSTR pauseString = pauseStringWS.c_str(); EnableWindow(filesListCtrl, TRUE);