diff options
author | Boram Park <boram1288.park@samsung.com> | 2016-03-03 17:47:04 +0900 |
---|---|---|
committer | Boram Park <boram1288.park@samsung.com> | 2016-03-03 17:47:04 +0900 |
commit | eba9e2a6ae42995524718c516d7abd310055f3b2 (patch) | |
tree | bcb6f7c3bfd22e4cbf6343d56dd8b24754671d1d | |
parent | ae7f2cbed8c262530189ec50a9f1d55e423f0e49 (diff) | |
download | libtdm-drm-eba9e2a6ae42995524718c516d7abd310055f3b2.tar.gz libtdm-drm-eba9e2a6ae42995524718c516d7abd310055f3b2.tar.bz2 libtdm-drm-eba9e2a6ae42995524718c516d7abd310055f3b2.zip |
fix syntax errorsubmit/tizen/20160303.092103accepted/tizen/wearable/20160305.091159accepted/tizen/tv/20160305.091145accepted/tizen/mobile/20160305.091126accepted/tizen/ivi/20160305.091214accepted/tizen/common/20160304.194933
Change-Id: I1717c95dc68d3deace08cbd333d8ea08415d3742
-rw-r--r-- | src/tdm_drm_display.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tdm_drm_display.c b/src/tdm_drm_display.c index 3839481..20ca626 100644 --- a/src/tdm_drm_display.c +++ b/src/tdm_drm_display.c @@ -587,11 +587,11 @@ tdm_drm_display_create_output_list(tdm_drm_data *drm_data) for (j = 0; j < connector->count_props; j++) { drmModePropertyPtr prop = drmModeGetProperty(drm_data->drm_fd, - connector->props[i]); + connector->props[j]); if (!prop) continue; if (!strcmp(prop->name, "DPMS")) { - output_data->dpms_prop_id = connector->props[i]; + output_data->dpms_prop_id = connector->props[j]; drmModeFreeProperty(prop); break; } |