From 84d094f1e31f55481dea0c859be9a85c7cfb426c Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sun, 8 May 2011 21:19:43 +0000 Subject: 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 --- src/modules/mediaplayer/MpWinampInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/mediaplayer/MpWinampInterface.cpp') 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; -- cgit v1.3.1-10-gc9f91