X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_menu.c;h=2f373dcf0f0055b7b4cdc66c14f21d894a612b44;hb=2e5dc871b7c1df472978af9811d0e97b6684707c;hp=f49ca5259a562150ddf8e7081a1a0d5f8950a6e1;hpb=d457e1f51ad9c9f823b7b35251dc5fe5c0b7a0d7;p=freeglut diff --git a/src/freeglut_menu.c b/src/freeglut_menu.c index f49ca52..2f373dc 100644 --- a/src/freeglut_menu.c +++ b/src/freeglut_menu.c @@ -29,8 +29,6 @@ #include "config.h" #endif -#define G_LOG_DOMAIN "freeglut-menu" - #include "../include/GL/freeglut.h" #include "freeglut_internal.h" @@ -229,7 +227,7 @@ static GLboolean fghCheckMenuStatus( SFG_Window* window, SFG_Menu* menu ) if ( menuEntry->SubMenu->Y + menuEntry->SubMenu->Height > glutGet (GLUT_SCREEN_HEIGHT ) ) menuEntry->SubMenu->Y -= (menuEntry->SubMenu->Height - - FREEGLUT_MENU_HEIGHT - 2*FREEGLUT_MENU_BORDER); + FREEGLUT_MENU_HEIGHT - 2*FREEGLUT_MENU_BORDER); fgSetWindow ( menuEntry->SubMenu->Window ) ; glutPositionWindow ( menuEntry->SubMenu->X, menuEntry->SubMenu->Y ) ;