mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
fixed compile errors
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@54 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
ccdd63c15b
commit
3c382bc5b8
3 changed files with 4 additions and 4 deletions
|
@ -247,7 +247,7 @@ void CPortals::Load()
|
|||
return;
|
||||
}
|
||||
|
||||
if(portal_count < 0)
|
||||
if(portal_count == 0)
|
||||
{
|
||||
fclose(in);
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#include "glfont.h"
|
||||
|
||||
#include "igl.h"
|
||||
#include <gtk/gtkglwidget.h>
|
||||
//#include <gtk/gtkglwidget.h>
|
||||
|
||||
GLFont glfont_create(const char* font_string)
|
||||
{
|
||||
|
|
|
@ -4101,7 +4101,7 @@ public:
|
|||
template<typename Functor>
|
||||
inline const Functor& Brush_ForEachFaceInstance(BrushInstance& brush, const Functor& functor)
|
||||
{
|
||||
brush.forEachFaceInstance(FaceInstanceVisitAll<Functor>(functor)));
|
||||
brush.forEachFaceInstance(FaceInstanceVisitAll<Functor>(functor));
|
||||
return functor;
|
||||
}
|
||||
|
||||
|
@ -4140,7 +4140,7 @@ public:
|
|||
{
|
||||
if(path.top().get().visible())
|
||||
{
|
||||
BrushInstance* brush = Instance_getIBrush(instance);
|
||||
BrushInstance* brush = Instance_getBrush(instance);
|
||||
if(brush != 0)
|
||||
{
|
||||
m_functor(*brush);
|
||||
|
|
Loading…
Reference in a new issue