From 95670e03a01d30cda5a0f685974f28790be6809d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 3 Mar 2012 20:19:11 +0000 Subject: style cleanup / comment formatting for bli/bke/bmesh --- source/blender/blenkernel/intern/font.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/blenkernel/intern/font.c') diff --git a/source/blender/blenkernel/intern/font.c b/source/blender/blenkernel/intern/font.c index 5a37a65ddbf..ba23b2123d6 100644 --- a/source/blender/blenkernel/intern/font.c +++ b/source/blender/blenkernel/intern/font.c @@ -372,7 +372,7 @@ static void buildchar(Main *bmain, Curve *cu, unsigned long character, CharInfo vfd= vfont_get_data(bmain, which_vfont(cu, info)); if (!vfd) return; - /* +#if 0 if (cu->selend < cu->selstart) { if ((charidx >= (cu->selend)) && (charidx <= (cu->selstart-2))) sel= 1; @@ -381,7 +381,7 @@ static void buildchar(Main *bmain, Curve *cu, unsigned long character, CharInfo if ((charidx >= (cu->selstart-1)) && (charidx <= (cu->selend-1))) sel= 1; } - */ +#endif /* make a copy at distance ofsx,ofsy with shear*/ fsize= cu->fsize; @@ -541,7 +541,7 @@ struct chartrans *BKE_text_to_curve(Main *bmain, Scene *scene, Object *ob, int m wchar_t *mem, *tmp, ascii; /* renark: do calculations including the trailing '\0' of a string - because the cursor can be at that location */ + * because the cursor can be at that location */ if(ob->type!=OB_FONT) return NULL; @@ -941,7 +941,7 @@ struct chartrans *BKE_text_to_curve(Main *bmain, Scene *scene, Object *ob, int m if(mode==FO_CURSUP || mode==FO_CURSDOWN || mode==FO_PAGEUP || mode==FO_PAGEDOWN) { /* 2: curs up - 3: curs down */ + * 3: curs down */ ct= chartransdata+cu->pos; if((mode==FO_CURSUP || mode==FO_PAGEUP) && ct->linenr==0); -- cgit v1.2.3