On 28-Feb-2002 Martin Vermeer wrote: > Have a look at text2.C, the two routines setCharFont! They are > almost identical, except for an extra argument and a dozen > lines of extra code at the start of one. Otherwise -- carbon > copies!
What about calling the second (shorter one) from the first instead of merging them and putting a conditional inside. I don't know but IMO this function is called quite often when drawing so it should be fast, maybe a function with just 1 conditional more is slower, but well I don't really think so. We should do something agains code-duplication, that's for sure. Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Chemistry professors never die, they just fail to react.