diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-10-14 16:46:54 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-10-14 16:46:54 +0200 |
commit | ce341f68851e1170e231fc25cc8183183a2da99b (patch) | |
tree | 9eba2ba8f0354e55734c281f276d1c62a84380d6 /source/helper.c | |
parent | b4c599f022feb69d5be7c27a3037c70c02c44790 (diff) |
Document more headers.
Diffstat (limited to 'source/helper.c')
-rw-r--r-- | source/helper.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/helper.c b/source/helper.c index d634a918..7fabbcea 100644 --- a/source/helper.c +++ b/source/helper.c @@ -537,12 +537,8 @@ int config_sanity_check ( void ) // Check size { - int ssize = monitor_get_smallest_size ( ); workarea mon; - if ( monitor_active ( &mon ) ) { - ssize = MIN ( mon.w, mon.h ); - } - else{ + if ( !monitor_active ( &mon ) ) { const char *name = config.monitor; if ( name && name[0] == '-' ) { int index = name[1] - '0'; |