[Bf-committers] usiblender.c missing #ifdef for non-INTERNATIONAL builds

bf-committers@blender.org bf-committers@blender.org
Fri, 23 Jan 2004 09:47:38 -0600


This morning's (to me) CVS build ... wouldn't.  There was
a missing function called FTF_End() referenced in usiblender.c.

It appears that this is new code and only deals with
INTERNATIONAL builds which I don't build for myself.  The
patch below got blender to build and run for me.

On a side note, the directory source/blender/ftfont is
most likely not covered by autoconf.  I didn't try to
make an international build, but the missing Makefile.am
makes me think it isn't covered.  I realize the general
direction is to move to scons for builds, but I was
under the impression that the transition hadn't happened
yet.  No big deal to me, one way or another, but it
might impact others using autoconf to build with
INTERNAITONAL enabled.


cvs -z3 diff -u source/blender/src/usiblender.c
Index: source/blender/src/usiblender.c
===================================================================
RCS file: /cvsroot/bf-blender/blender/source/blender/src/usiblender.c,v
retrieving revision 1.44
diff -u -r1.44 usiblender.c
--- source/blender/src/usiblender.c     23 Jan 2004 14:19:44 -0000      1.44
+++ source/blender/src/usiblender.c     23 Jan 2004 15:41:04 -0000
@@ -569,7 +569,9 @@
                 mainwindow_close();
         }

+#ifdef INTERNATIONAL
         FTF_End();
+#endif

         if (G.undo_clear) G.undo_clear();


--
Todd Koeckeritz, zaz@visi.com

Surfin' the Web with an ActiveX enabled browser is kindof like having
to worry about getting shot everytime you knock on a door.