From 386ed19a735e920190072279952b66822b2624fb Mon Sep 17 00:00:00 2001 From: xavi92 Date: Sun, 25 Aug 2024 22:09:31 +0000 Subject: [PATCH] guicombobox.cpp: Remove wrong pointer No callback was defined for this call to gfuiGrButtonInit, so in fact this pointer was useless. git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9545 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 1cb69b3455a9b3d6a7028b4452fedaa253519aac Former-commit-id: bac08cabb56f2e1ab36f54f45245a7b3a9fede75 --- src/libs/tgfclient/guicombobox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/tgfclient/guicombobox.cpp b/src/libs/tgfclient/guicombobox.cpp index 5cfca247..c51097af 100644 --- a/src/libs/tgfclient/guicombobox.cpp +++ b/src/libs/tgfclient/guicombobox.cpp @@ -181,7 +181,7 @@ GfuiComboboxCreate(void *scr, int font, int x, int y, int width, width - 2 * combobox->leftButton.width, //width arrowsHeight, //height: same as the arrows GFUI_MIRROR_NONE, - GFUI_MOUSE_UP, (void*)(long)(object->id), 0, 0, 0, 0); + GFUI_MOUSE_UP, NULL, 0, 0, 0, 0); // Add the combo control to the display list. gfuiAddObject(screen, object);