From b8f1383e74b1294b646d844071d30b1f06fb723d Mon Sep 17 00:00:00 2001 From: sty Date: Fri, 15 Feb 2019 11:28:10 +0800 Subject: [PATCH] =?UTF-8?q?dll=E6=A8=A1=E5=BC=8F=E5=B1=8F=E8=94=BD?= =?UTF-8?q?=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/PotPlayer.cpp | 10 +++++----- src/cp_dylib.sh | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) 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