X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=src%2Fpatplex.c;h=99395439123500ab914cf5cd385093c83b5a93a1;hp=d0e2dade2fff96eca07c407fc34c857e633af452;hb=8ea85a4e33fac0e5df05ee0ba96600d0f241ca64;hpb=b1b0fe0f4793825232288427da4856e9adf8b868 diff --git a/src/patplex.c b/src/patplex.c index d0e2dad..9939543 100644 --- a/src/patplex.c +++ b/src/patplex.c @@ -383,12 +383,14 @@ static void qoffsets(char *buf, int *obuf, char *pstr, int unquote) o++; } buf[o] = 0; + obuf[o] = i; } else { for(i = 0; pstr[i]; i++) { buf[i] = pstr[i]; obuf[i] = i; } buf[i] = 0; + obuf[i] = i; } }