From 3f25c9265b234a460bea8623e82eaaf4f0f0352f Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Wed, 9 Nov 2022 13:54:32 +0300 Subject: [PATCH] Fix arguments order --- src/mouse_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mouse_manager.cc b/src/mouse_manager.cc index a7552f1..e5f62bb 100644 --- a/src/mouse_manager.cc +++ b/src/mouse_manager.cc @@ -441,7 +441,7 @@ bool mouseManagerSetMouseShape(char* fileName, int a2, int a3) if (cacheEntry == NULL) { MouseManagerStaticData* staticData; staticData = (MouseManagerStaticData*)internal_malloc_safe(sizeof(*staticData), __FILE__, __LINE__); // "..\\int\\MOUSEMGR.C", 430 - staticData->data = datafileReadRaw(mangledFileName, &height, &width); + staticData->data = datafileReadRaw(mangledFileName, &width, &height); staticData->field_4 = a2; staticData->field_8 = a3; staticData->width = width;