summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-01-20 22:00:47 -0500
committerMike Blumenkrantz <zmike@samsung.com>2014-01-20 22:16:18 -0500
commit1feed7a1aec147ef8f3a0829437e749dde8c373f (patch)
treeec4a9676f8ceb05f0288ab4f344c269599169292 /src
parent414b447f54638a6c241c3a55c235945e76c6972f (diff)
ecore_x_randr_output_name_get fixme removed
this was a fixme which was likely written sometime before July 2010 when the bug was fixed, just prior to the 1.3.1 release. I think it's probably okay to require that release since it's been 3+ years.
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_x/xlib/ecore_x_randr.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lib/ecore_x/xlib/ecore_x_randr.c b/src/lib/ecore_x/xlib/ecore_x_randr.c
index c33760bfe2..a88fcff609 100644
--- a/src/lib/ecore_x/xlib/ecore_x_randr.c
+++ b/src/lib/ecore_x/xlib/ecore_x_randr.c
@@ -2206,13 +2206,8 @@ ecore_x_randr_output_name_get(Ecore_X_Window root, Ecore_X_Randr_Output output,
2206 { 2206 {
2207 if (info->name) 2207 if (info->name)
2208 { 2208 {
2209 /* FIXME: TODO: NB: 2209 ret = malloc(info->nameLen);
2210 * 2210 memcpy(ret, info->name, info->nameLen);
2211 * Old randr code says there is an xrandr bug here with
2212 * nameLen. Test This !!!
2213 *
2214 */
2215 ret = strdup(info->name);
2216 if (len) *len = info->nameLen; 2211 if (len) *len = info->nameLen;
2217 } 2212 }
2218 2213