mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
textool fix (Markus Fischer)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@331 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
c14eb495aa
commit
48d505dff5
1 changed files with 2 additions and 2 deletions
|
@ -251,8 +251,6 @@ const char* QERPlug_Init (void* hApp, void *pWidget)
|
|||
GtkWidget* pMainWidget = static_cast<GtkWidget*>(pWidget);
|
||||
|
||||
g_pMainWnd = pMainWidget;
|
||||
memset(&g_FuncTable, 0, sizeof(_QERFuncTable_1));
|
||||
g_FuncTable.m_nSize = sizeof(_QERFuncTable_1);
|
||||
size = (int)((winding_t *)0)->points[MAX_POINTS_ON_WINDING];
|
||||
g_pSelectedFaceWinding = (winding_t *)malloc( size );
|
||||
memset( g_pSelectedFaceWinding, 0, size );
|
||||
|
@ -939,6 +937,8 @@ extern "C" CSynapseClient* SYNAPSE_DLL_EXPORT Synapse_EnumerateInterfaces( const
|
|||
g_SynapseClient.AddAPI(RADIANT_MAJOR, NULL, sizeof(g_FuncTable), SYN_REQUIRE, &g_FuncTable);
|
||||
g_SynapseClient.AddAPI(QGL_MAJOR, NULL, sizeof(g_QglTable), SYN_REQUIRE, &g_QglTable);
|
||||
g_SynapseClient.AddAPI(SELECTEDFACE_MAJOR, NULL, sizeof(g_SelectedFaceTable), SYN_REQUIRE, &g_SelectedFaceTable);
|
||||
g_SynapseClient.AddAPI(UI_MAJOR, NULL, sizeof(_QERUITable), SYN_REQUIRE, &g_UITable);
|
||||
g_SynapseClient.AddAPI(APPSURFACEDIALOG_MAJOR, NULL, sizeof(_QERAppSurfaceTable), SYN_REQUIRE, &g_SurfaceTable);
|
||||
|
||||
return &g_SynapseClient;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue