aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-03-10 21:41:14 -0500
committerDrew DeVault <sir@cmpwn.com>2017-03-10 21:41:14 -0500
commit74d4f1bec9a70bc800ecd7b15c9c6c0d7a5ce918 (patch)
treeb17cf4aa44dffc15f16152e382086cb1b225146e
parentd5c338d9ee9d0d4f83e436d2e161f8cde3c6a1b4 (diff)
Further indentation corrections
-rw-r--r--sway/config.c2
-rw-r--r--sway/container.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/sway/config.c b/sway/config.c
index 88e6fad1..98351b1e 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -487,7 +487,7 @@ static bool load_config(const char *path, struct sway_config *config) {
}
static int qstrcmp(const void* a, const void* b) {
- return strcmp(*((char**) a), *((char**) b));
+ return strcmp(*((char**) a), *((char**) b));
}
bool load_main_config(const char *file, bool is_active) {
diff --git a/sway/container.c b/sway/container.c
index 2f656bd8..9b1eac60 100644
--- a/sway/container.c
+++ b/sway/container.c
@@ -401,9 +401,9 @@ void floating_view_sane_size(swayc_t *view) {
config->floating_maximum_height = swayc_active_workspace()->height;
} else if (config->floating_maximum_height != -1 &&
- view->desired_height > config->floating_maximum_height) {
- view->desired_height = config->floating_maximum_height;
- }
+ view->desired_height > config->floating_maximum_height) {
+ view->desired_height = config->floating_maximum_height;
+ }
// if 0 do not resize, only enforce max value
if (config->floating_maximum_width == 0) {