diff options
| author | raysan5 <raysan5@gmail.com> | 2017-01-15 01:10:34 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2017-01-15 01:10:34 +0100 |
| commit | e5a2def57f96567c23072c95afeceeb9e76f7e10 (patch) | |
| tree | 0ae88740edc363bfef62a79fb64fcf2bf818706a /src | |
| parent | 61f6b0f707f408b89306ff1a6a2d825662ba8311 (diff) | |
| download | raylib-e5a2def57f96567c23072c95afeceeb9e76f7e10.tar.gz raylib-e5a2def57f96567c23072c95afeceeb9e76f7e10.zip | |
Code formatting
Diffstat (limited to 'src')
| -rw-r--r-- | src/core.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -561,14 +561,14 @@ void HideCursor() { #if defined(PLATFORM_DESKTOP) #ifdef __linux - XColor Col; - const char Nil[] = {0}; + XColor col; + const char nil[] = {0}; - Pixmap Pix = XCreateBitmapFromData(glfwGetX11Display(), glfwGetX11Window(window), Nil, 1, 1); - Cursor Cur = XCreatePixmapCursor(glfwGetX11Display(), Pix, Pix, &Col, &Col, 0, 0); + Pixmap pix = XCreateBitmapFromData(glfwGetX11Display(), glfwGetX11Window(window), nil, 1, 1); + Cursor cur = XCreatePixmapCursor(glfwGetX11Display(), pix, pix, &col, &col, 0, 0); - XDefineCursor(glfwGetX11Display(), glfwGetX11Window(window), Cur); - XFreeCursor(glfwGetX11Display(), Cur); + XDefineCursor(glfwGetX11Display(), glfwGetX11Window(window), cur); + XFreeCursor(glfwGetX11Display(), cur); #else glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_HIDDEN); #endif |
