diff --git a/Easy Audio Player.rc b/Easy Audio Player.rc index 39d3ccd..f87049f 100644 Binary files a/Easy Audio Player.rc and b/Easy Audio Player.rc differ diff --git a/main.cpp b/main.cpp index af9cb2a..1dfaed0 100644 --- a/main.cpp +++ b/main.cpp @@ -179,7 +179,7 @@ void Play(TCHAR* path, TCHAR* fileName) { void PauseToggle(BOOL state) { if (state == TRUE) { //PREPARE TO RESUME - isPaused = FALSE; + state = FALSE; SetWindowText(npLabel, selected); SetWindowText(playButton, PAUSE_LABEL); @@ -188,7 +188,7 @@ void PauseToggle(BOOL state) { } else { //PREPARE TO PAUSE - isPaused = TRUE; + state = TRUE; wstringstream pauseStringS; pauseStringS << wstring(selected); pauseStringS << " [PAUZA]";