Cygwin: fix formatting: drop spaces leading tabs

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2020-03-11 13:23:55 +01:00
parent 256bc8bde0
commit d2ef2331f9
47 changed files with 137 additions and 137 deletions

View File

@@ -546,11 +546,11 @@ fhandler_dev_floppy::raw_write (const void *ptr, size_t len)
DWORD cplen, written;
/* First check if we have an active read buffer. If so, try to fit in
the start of the input buffer and write out the entire result.
the start of the input buffer and write out the entire result.
This also covers the situation after lseek since lseek fills the read
buffer in case we seek to an address which is not sector aligned. */
if (devbufend && devbufstart < devbufend)
{
{
off_t current_pos = get_current_position ();
cplen = MIN (len, devbufend - devbufstart);
memcpy (devbuf + devbufstart, p, cplen);
@@ -657,7 +657,7 @@ fhandler_dev_floppy::lseek (off_t offset, int whence)
off_t exact_pos = current_pos - (devbufend - devbufstart);
/* Shortcut when used to get current position. */
if (offset == 0)
return exact_pos;
return exact_pos;
offset += exact_pos;
whence = SEEK_SET;
}