diff options
author | enselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2008-10-03 08:29:13 +0000 |
---|---|---|
committer | enselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2008-10-03 08:29:13 +0000 |
commit | c97d974e56edbe32456740ac46cb067363568ca9 (patch) | |
tree | a98b1550445d841b5e23d0ab8652244223d5148a /recordmydesktop/src/rmd.c | |
parent | 1a926f3ab636d7eaaa8482d0b21219bbf43f5457 (diff) |
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
Diffstat (limited to 'recordmydesktop/src/rmd.c')
-rw-r--r-- | recordmydesktop/src/rmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |