aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2017-01-15 01:10:34 +0100
committerraysan5 <raysan5@gmail.com>2017-01-15 01:10:34 +0100
commite5a2def57f96567c23072c95afeceeb9e76f7e10 (patch)
tree0ae88740edc363bfef62a79fb64fcf2bf818706a /src
parent61f6b0f707f408b89306ff1a6a2d825662ba8311 (diff)
downloadraylib-e5a2def57f96567c23072c95afeceeb9e76f7e10.tar.gz
raylib-e5a2def57f96567c23072c95afeceeb9e76f7e10.zip
Code formatting
Diffstat (limited to 'src')
-rw-r--r--src/core.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core.c b/src/core.c
index 424e5725..4d662a41 100644
--- a/src/core.c
+++ b/src/core.c
@@ -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