summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-05-12 11:51:01 -0400
committerChris Michael <cp.michael@samsung.com>2015-05-12 12:07:31 -0400
commit956eb9318beeec16396e7daf94ce88935db3a901 (patch)
tree992b939ca8a25c2043a8a94fab639e7185661f43 /src/lib/ecore_drm
parent96d16eabb4f76632aa6891f5f6ce20d08cb38779 (diff)
ecore-drm: Fix issue of edid parsing not ignoring string
Summary: When we are parsing the edid string, if the string is random junk, then we need to ignore it. Prior to this commit, we were not setting the returned text properly. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm')
-rw-r--r--src/lib/ecore_drm/ecore_drm_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_output.c b/src/lib/ecore_drm/ecore_drm_output.c
index a76a8ece72..0d4ace305c 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -100,7 +100,7 @@ _ecore_drm_output_edid_parse_string(const uint8_t *data, char text[])
100 } 100 }
101 } 101 }
102 102
103 if (rep > 4) text[i] = '\0'; 103 if (rep > 4) text[0] = '\0';
104} 104}
105 105
106static int 106static int