[Bf-committers] another dumb question

Frank van Beek bf-committers@blender.org
Fri, 20 Dec 2002 09:45:12 +0100 (CET)


Hi Kent,

In the same function, just a couple of lines below the assignment:

---
	if(ascii==1001) {
		int file, filelen;
		char *strp;
					
		/* this should be solved by clipboard support */
#ifdef __WIN32_DISABLED 
		file= open("C:\\windows\\temp\\cutbuf",
O_BINARY|O_RDONLY);
#else
		file= open("/tmp/.cutbuffer", O_BINARY|O_RDONLY);
#endif

<... snip ...>

	else {
		insert_into_textbuf(cu, ascii);
	}

----

Keep up the good work !

Frank.

On Thu, 19 Dec 2002, Kent Mein wrote:

> Ok looking at: blender/source/blender/src/editfont.c
> 
> This line looks wrong: (255)
>                                         else if(ascii=='v') ascii= 1001;
> Everything else has a 3 digit value..
> I couldn't figure out the conversions using ascii tables I could find
> so I'm at a loss.
> 
> Kent
> -- 
> mein@cs.umn.edu
> http://www.cs.umn.edu/~mein
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers
> 
>