From: Mikko Rasa Date: Sat, 12 Dec 2015 17:10:48 +0000 (+0200) Subject: Fix correction counting in the control program X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=78a55af2076997cd55b18df5dee4aec700fae176;p=geometrycompositor.git Fix correction counting in the control program --- diff --git a/source/control.c b/source/control.c index ae47c9e..ca4f6e7 100644 --- a/source/control.c +++ b/source/control.c @@ -47,7 +47,7 @@ GeometryCorrection *get_corrections(Display *display) return NULL; } - ncorrections = 0; + ncorrections = (names_length>0); for(i=0; i