...
|
...
|
@@ -2061,8 +2061,6 @@ int
|
2061
|
2061
|
re_addprint(re_t *re)
|
2062
|
2062
|
{
|
2063
|
2063
|
int i;
|
2064
|
|
- long frompos,topos;
|
2065
|
|
- int coldone;
|
2066
|
2064
|
if(re==NULL)
|
2067
|
2065
|
return(-1);
|
2068
|
2066
|
/* ensure space for the new printout */
|
...
|
...
|
@@ -2092,6 +2090,8 @@ re_addprint(re_t *re)
|
2092
|
2090
|
re->usedprints++;
|
2093
|
2091
|
/* copy contents (and set clipboard contents and unselect)*/
|
2094
|
2092
|
if(re->selactive) {
|
|
2093
|
+ long frompos,topos;
|
|
2094
|
+ int coldone;
|
2095
|
2095
|
if(redata_linecol2pos(re->data,re->sellinefrom,re->selcolfrom,&frompos,NULL)==0
|
2096
|
2096
|
&& redata_linecol2pos(re->data,re->sellineto,re->selcolto,&topos,&coldone)==0) {
|
2097
|
2097
|
re_selectbuf_fill(re,frompos,topos-frompos,re->selcolto-coldone);
|