From c97d974e56edbe32456740ac46cb067363568ca9 Mon Sep 17 00:00:00 2001 From: enselic Date: Fri, 3 Oct 2008 08:29:13 +0000 Subject: src/rmd_setbrwindow.c: Make SetBRWindow() return a success-boolean, i.e. TRUE for success and FALSE for failure. src/rmd.c: Adapt. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@564 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/src/rmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recordmydesktop/src/rmd.c') diff --git a/recordmydesktop/src/rmd.c b/recordmydesktop/src/rmd.c index 98b3862..6c3edfa 100644 --- a/recordmydesktop/src/rmd.c +++ b/recordmydesktop/src/rmd.c @@ -96,7 +96,7 @@ int main(int argc,char **argv){ " color depth modes are currently supported.\n"); exit(10); } - if(SetBRWindow(pdata.dpy,&pdata.brwin,&pdata.specs,&pdata.args)) + if (!SetBRWindow(pdata.dpy, &pdata.brwin, &pdata.specs, &pdata.args)) exit(11); //check if we are under compiz or beryl, -- cgit v1.2.3