- else {
- /* the layer can't be set larger than screen */
- tmp_w = w, tmp_h = h;
- if (w > screen_w)
- w = screen_w;
- if (h > screen_h)
- h = screen_h;
- if (w != tmp_w || h != tmp_h)
- log("layer resized %dx%d -> %dx%d to fit screen", tmp_w, tmp_h, w, h);
- }
+
+ /* the layer can't be set larger than screen */
+ tmp_w = w, tmp_h = h;
+ if (w > screen_w)
+ w = screen_w;
+ if (h > screen_h)
+ h = screen_h;
+ if (w != tmp_w || h != tmp_h)
+ log("layer resized %dx%d -> %dx%d to fit screen", tmp_w, tmp_h, w, h);