diff options
author | emersion <contact@emersion.fr> | 2018-02-10 11:27:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-10 11:27:46 +0100 |
commit | 039f112c31eea17e45c121db9b470fa36bbf9af9 (patch) | |
tree | 72accf481b631a8b0290d89c1ce2e870b531f3ee /rootston | |
parent | 34489dca16ef9e7fd05c161b8b4f2fd5ce5e4ef0 (diff) | |
parent | 5aee2afc7b8b5e63d2f72b91f41930a0fb260a28 (diff) |
Merge pull request #622 from martinetd/smallscale
rootston: allow scale < 1 as well
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/config.c b/rootston/config.c index 31bde2b0..26cbd12d 100644 --- a/rootston/config.c +++ b/rootston/config.c @@ -281,7 +281,7 @@ static int config_ini_handler(void *user, const char *section, const char *name, oc->y = strtol(value, NULL, 10); } else if (strcmp(name, "scale") == 0) { oc->scale = strtof(value, NULL); - assert(oc->scale >= 1); + assert(oc->scale > 0); } else if (strcmp(name, "rotate") == 0) { if (strcmp(value, "normal") == 0) { oc->transform = WL_OUTPUT_TRANSFORM_NORMAL; |