diff --git a/src/PotPlayer.cpp b/src/PotPlayer.cpp index b42d7d9..a9cb335 100644 --- a/src/PotPlayer.cpp +++ b/src/PotPlayer.cpp @@ -255,10 +255,6 @@ int PotPlayer::eventLoop() { switch (e.key.keysym.sym) { - case BPK_SPACE: - pause = !pause; - media_->setPause(pause); - break; case BPK_ESCAPE: if (engine_->isFullScreen()) { @@ -270,11 +266,15 @@ int PotPlayer::eventLoop() running_ = false; } break; -#ifndef _WINDLL case BPK_BACKSPACE: media_->seekTime(0); seeking = true; break; +#ifndef _WINDLL + case BPK_SPACE: + pause = !pause; + media_->setPause(pause); + break; case BPK_RETURN: engine_->toggleFullscreen(); break; diff --git a/src/cp_dylib.sh b/src/cp_dylib.sh index 91c7132..58ec37f 100755 --- a/src/cp_dylib.sh +++ b/src/cp_dylib.sh @@ -11,7 +11,7 @@ for dylib in $DYLIBS; do basename2=`basename $dylib2` if [ ! -f "$basename2" ]; then echo " cp dylib" - cp $dylib2 ../lib + cp $dylib2 . fi done done