diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2022-02-01 16:57:09 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2022-02-01 16:57:09 -0800 |
commit | 4dbf8f54a5d98a10708b20416b9a4a1282865f97 (patch) | |
tree | 08afb933c8e582df8be6a02d2fe94f830d214f09 | |
parent | 9d3749f8d02d5d6c9d1221a6c9145c6cdc34a5fc (diff) |
setbrwindow: trivial formatting fixups
Fix some minor whitespace/indentation inconsistency.
-rw-r--r-- | src/rmd_setbrwindow.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/rmd_setbrwindow.c b/src/rmd_setbrwindow.c index 8534c77..846abe6 100644 --- a/src/rmd_setbrwindow.c +++ b/src/rmd_setbrwindow.c @@ -44,8 +44,8 @@ boolean rmdSetBRWindow( Display *dpy, brwin->winrect.width = specs->width; brwin->winrect.height = specs->height; - brwin->rrect.x = args->x; - brwin->rrect.y = args->y; + brwin->rrect.x = args->x; + brwin->rrect.y = args->y; brwin->rrect.width = args->width ? args->width : brwin->winrect.width - args->x; brwin->rrect.height = args->height ? args->height : brwin->winrect.height - args->y; @@ -94,13 +94,14 @@ boolean rmdSetBRWindow( Display *dpy, return FALSE; } - brwin->rrect.x = brwin->winrect.x + args->x; - brwin->rrect.y = brwin->winrect.y + args->y; + brwin->rrect.x = brwin->winrect.x + args->x; + brwin->rrect.y = brwin->winrect.y + args->y; brwin->rrect.width = args->width ? args->width : brwin->winrect.width - args->x; brwin->rrect.height = args->height ? args->height : brwin->winrect.height - args->y; if ( args->x + brwin->rrect.width > brwin->winrect.width || args->y + brwin->rrect.height > brwin->winrect.height) { + fprintf(stderr, "Specified Area is larger than window!\n"); return FALSE; } |