Software gdi: fix build on Windows.
authorMykyta Biliavskyi <m.biliavskyi@samsung.com>
Fri, 1 Sep 2017 10:50:34 +0000 (13:50 +0300)
committerMykyta Biliavskyi <m.biliavskyi@samsung.com>
Fri, 1 Sep 2017 10:50:34 +0000 (13:50 +0300)
Summary:
Function argument was renamed, but in function body still uses old
variable name.

Test Plan: Build on Windows host

Reviewers: cedric, vtorri

Reviewed By: vtorri

Subscribers: jpeg

Tags: #windows, #efl

Differential Revision: https://phab.enlightenment.org/D5152

src/modules/evas/engines/software_gdi/evas_engine.c

index 10562d3..dc17d23 100644 (file)
@@ -30,7 +30,7 @@ eng_output_setup(void *engine, void *in, unsigned int w, unsigned int h)
 
    if (w <= 0)
      w = 1;
-   if (height <= 0)
+   if (h <= 0)
      h = 1;
 
    ob = evas_software_gdi_outbuf_setup(w, h,