diff --git a/src/ncmpcpp.cpp b/src/ncmpcpp.cpp index 00cd97f5..05823289 100644 --- a/src/ncmpcpp.cpp +++ b/src/ncmpcpp.cpp @@ -94,7 +94,9 @@ namespace std::cerr.rdbuf(cerr_buffer); errorlog.close(); Mpd.Disconnect(); +# ifndef USE_PDCURSES // destroying screen somehow crashes pdcurses DestroyScreen(); +# endif // USE_PDCURSES WindowTitle(""); } }