diff options
| author | 2011-05-08 21:19:43 +0000 | |
|---|---|---|
| committer | 2011-05-08 21:19:43 +0000 | |
| commit | 84d094f1e31f55481dea0c859be9a85c7cfb426c (patch) | |
| tree | e7bdfd91c9efba8097adde62fe3a9b23af084c58 /src/modules/mediaplayer/MpWinampInterface.cpp | |
| parent | update (diff) | |
| download | KVIrc-84d094f1e31f55481dea0c859be9a85c7cfb426c.tar.gz KVIrc-84d094f1e31f55481dea0c859be9a85c7cfb426c.tar.bz2 KVIrc-84d094f1e31f55481dea0c859be9a85c7cfb426c.zip | |
Objects module: fixed indentation (wip)
webview class: proper documentation
misc: fixed errors and bad pratices found by lwlint
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5834 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/mediaplayer/MpWinampInterface.cpp')
| -rw-r--r-- | src/modules/mediaplayer/MpWinampInterface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/mediaplayer/MpWinampInterface.cpp b/src/modules/mediaplayer/MpWinampInterface.cpp index e38e5d410..c04631034 100644 --- a/src/modules/mediaplayer/MpWinampInterface.cpp +++ b/src/modules/mediaplayer/MpWinampInterface.cpp @@ -311,7 +311,7 @@ QString KviWinampInterface::mrl() { int ret2 = SendMessage(hWinamp,WM_USER,KVIRC_WM_USER,KVIRC_WM_USER_CHECK); - if(ret2 =! KVIRC_WM_USER_CHECK_REPLY) + if(ret2 != KVIRC_WM_USER_CHECK_REPLY) { setLastError(__tr2qs_ctx("The winamp plugin has not been installed properly. Check /help mediaplayer.nowplaying","mediaplayer")); return ret; @@ -345,7 +345,7 @@ QString KviWinampInterface::nowPlaying() if(hWinamp) { int retpippo = SendMessage(hWinamp,WM_USER,KVIRC_WM_USER,KVIRC_WM_USER_CHECK); - if(retpippo =! KVIRC_WM_USER_CHECK_REPLY) + if(retpippo != KVIRC_WM_USER_CHECK_REPLY) { setLastError(__tr2qs_ctx("The winamp plugin has not been installed properly. Check /help mediaplayer.nowplaying","mediaplayer") ); return ret; |
