From 3ca1f47ea135fceba91dc6a26753a74438e4223b Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 26 Dec 2010 11:36:46 +0000 Subject: [PATCH] and this --- panda/src/x11display/x11GraphicsWindow.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panda/src/x11display/x11GraphicsWindow.cxx b/panda/src/x11display/x11GraphicsWindow.cxx index ef1ed27d89..9d2de21187 100644 --- a/panda/src/x11display/x11GraphicsWindow.cxx +++ b/panda/src/x11display/x11GraphicsWindow.cxx @@ -1941,7 +1941,8 @@ get_cursor(const Filename &filename) { } #endif - } else { + } else if (memcmp(magic, "\0\0\1\0", 4) == 0 + || memcmp(magic, "\0\0\2\0", 4) == 0) { // Windows .ico or .cur file. x11display_cat.debug() << "Loading Windows cursor " << filename << "\n";