1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 20:28:49 -05:00

Nomenclature fix.

This commit is contained in:
Camilla Berglund 2014-04-07 13:38:54 +02:00
parent bbc12ade7f
commit 7911c9300d

View File

@ -108,9 +108,9 @@ static int translateChar(XKeyEvent* event)
return (int) _glfwKeySym2Unicode(keysym); 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://"; const char* prefix = "file://";
char** names = NULL; char** names = NULL;
@ -868,7 +868,7 @@ static void processEvent(XEvent *event)
if (result) if (result)
{ {
int i, count; int i, count;
char** names = splitUriList(data, &count); char** names = parseUriList(data, &count);
_glfwInputDrop(window, count, (const char**) names); _glfwInputDrop(window, count, (const char**) names);