From 7911c9300d8f40bc1b7c798ca468b65d9b792cf3 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 7 Apr 2014 13:38:54 +0200 Subject: [PATCH] Nomenclature fix. --- src/x11_window.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/x11_window.c b/src/x11_window.c index 995c9399..e832cb53 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -108,9 +108,9 @@ static int translateChar(XKeyEvent* event) return (int) _glfwKeySym2Unicode(keysym); } -// Splits a text/uri-list into separate file paths +// Splits and translates a text/uri-list into separate file paths // -static char** splitUriList(char* text, int* count) +static char** parseUriList(char* text, int* count) { const char* prefix = "file://"; char** names = NULL; @@ -868,7 +868,7 @@ static void processEvent(XEvent *event) if (result) { int i, count; - char** names = splitUriList(data, &count); + char** names = parseUriList(data, &count); _glfwInputDrop(window, count, (const char**) names);