<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Juilen --<br>
<br>
&nbsp;&nbsp;&nbsp; I'm sure your correct but what I have now works so I'm on to other
things.&nbsp; Someday, my understanding of how to work with the language
will improve and I'll tighten up that part of the code.&nbsp; Thanks, though.<br>
<br>
Mark<br>
<br>
Julien BLACHE wrote:
<blockquote cite="mid:873ab1yqxt.fsf@sonic.technologeek.org" type="cite">
  <pre wrap="">Mark Pemburn <a class="moz-txt-link-rfc2396E" href="mailto:mark@pemburn.com">&lt;mark@pemburn.com&gt;</a> wrote:

Hi,

  </pre>
  <blockquote type="cite">
    <pre wrap="">   I had a real "Doh!" moment when I realized that this was exactly
what was happening (over-writing the buffer with each call to
sane_read).  Once I set up a second buffer and appended the partial
data to with each pass, I was finally able to see the whole beautiful
scanned image in my UI.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Not entirely sure what you mean in the above, so just in case: you
don't need a second buffer and copying data around, using a second
pointer will do.

JB.

  </pre>
</blockquote>
<br>
</body>
</html>