Hi, On Mon, 20 Apr 2009, Allan Caffee wrote: > On Mon, Apr 20, 2009 at 8:56 PM, Johannes Schindelin > <Johannes.Schindelin@xxxxxx> wrote: > > > On Mon, 20 Apr 2009, Allan Caffee wrote: > > > >> + for (j = (target * 2)+3; j < (i - 2); j += 2) > > > > This (target*2)+3 is a bit too magical for me to understand. But > > maybe I am just too tired? > > It is a little magical. Here target is an index into > graph->new_columns so we double that to get the actual location of the > edge in the string for this line. Ah. So how about /* * The variable target is the index of the graph * column, and therefore target*2+3 is the actual * screen column of the first horizontal line. */ Hmm? Ciao, Dscho